plugins/include/dbi.inc
changeset 3967 ceafb87d38a7
parent 3947 999d29e113db
     1.1 --- a/plugins/include/dbi.inc	Wed Jul 31 22:57:50 2013 -0400
     1.2 +++ b/plugins/include/dbi.inc	Thu Aug 01 09:26:34 2013 -0400
     1.3 @@ -137,6 +137,8 @@
     1.4   * @param keyvalues		Key/value pairs from a KeyValues handle, describing the connection.
     1.5   * @param error			Error buffer.
     1.6   * @param maxlength		Maximum length of the error buffer.
     1.7 + * @param persistent	True to re-use a previous persistent connection if
     1.8 + *						possible, false otherwise.
     1.9   * @return				A database connection Handle, or INVALID_HANDLE on failure.
    1.10   * 						On failure the error buffer will be filled with a message.
    1.11   * @error				Invalid KeyValues handle.
    1.12 @@ -304,7 +306,7 @@
    1.13   * encloses the string in ''. While drivers tend to allow " instead, the string
    1.14   * may be not be escaped (for example, on SQLite)!
    1.15   *
    1.16 - * @param hndl			A database Handle.
    1.17 + * @param database			A database Handle.
    1.18   * @param string		String to quote.
    1.19   * @param buffer		Buffer to store quoted string in.
    1.20   * @param maxlength		Maximum length of the buffer.
    1.21 @@ -569,7 +571,7 @@
    1.22   * 
    1.23   * @param statement		A statement (prepared query) Handle.
    1.24   * @param param			The parameter index (starting from 0).
    1.25 - * @param float			The float number to bind.
    1.26 + * @param value			The float number to bind.
    1.27   * @noreturn
    1.28   * @error				Invalid statement Handle or parameter index, or
    1.29   *						SQL error.
    1.30 @@ -633,7 +635,7 @@
    1.31  /**
    1.32   * General callback for threaded SQL stuff.
    1.33   *
    1.34 - * @param db			Parent object of the Handle (or INVALID_HANDLE if none).
    1.35 + * @param owner			Parent object of the Handle (or INVALID_HANDLE if none).
    1.36   * @param hndl			Handle to the child object (or INVALID_HANDLE if none).
    1.37   * @param error			Error string if there was an error.  The error could be 
    1.38   *						empty even if an error condition exists, so it is important 
    1.39 @@ -666,6 +668,7 @@
    1.40   * @param callback		Callback; new Handle will be in hndl, owner is the driver.
    1.41   *						If no driver was found, the owner is INVALID_HANDLE.
    1.42   * @param name			Database name.
    1.43 + * @param data			Extra data value to pass to the callback.
    1.44   * @noreturn
    1.45   */
    1.46  native SQL_TConnect(SQLTCallback:callback, const String:name[]="default", any:data=0);