From 34111ff1e41331de025a87dd4cf83a1588be43fe Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 21 Sep 2007 14:53:13 +0000 Subject: [PATCH] clarified "error" and "data" parameters to threaded dbi callbacks --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401455 --- plugins/include/dbi.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/include/dbi.inc b/plugins/include/dbi.inc index b7e85958..c61ac0ce 100644 --- a/plugins/include/dbi.inc +++ b/plugins/include/dbi.inc @@ -546,7 +546,10 @@ native SQL_UnlockDatabase(Handle:database); * * @param db Parent object of the Handle (or INVALID_HANDLE if none). * @param hndl Handle to the child object (or INVALID_HANDLE if none). - * @param error Error string, if any. + * @param error Error string if there was an error. The error could be + * empty even if an error condition exists, so it is important + * to check the actual Handle value instead. + * @param data Data passed in via the original threaded invocation. * @param */ functag SQLTCallback public(Handle:owner, Handle:hndl, const String:error[], any:data);