mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed some bugs in admin_sql
Changed some things in dbi
This commit is contained in:
parent
4e9de62da6
commit
0c022b1543
@ -71,13 +71,13 @@ native dbi_num_rows(Result:_result);
|
|||||||
|
|
||||||
/* Frees memory used by a result handle. Do this or get memory leaks.
|
/* Frees memory used by a result handle. Do this or get memory leaks.
|
||||||
*/
|
*/
|
||||||
native dbi_free_result(Result:_result);
|
native dbi_free_result(&Result:result);
|
||||||
|
|
||||||
/* Closes a database handle. Internally, it will also
|
/* Closes a database handle. Internally, it will also
|
||||||
* mark the handle as free, so this particular handle may
|
* mark the handle as free, so this particular handle may
|
||||||
* be re-used in the future to save time.
|
* be re-used in the future to save time.
|
||||||
*/
|
*/
|
||||||
native dbi_close(Sql:_sql);
|
native dbi_close(&Sql:sql);
|
||||||
|
|
||||||
/* Returns an error message set. For PGSQL and MySQL,
|
/* Returns an error message set. For PGSQL and MySQL,
|
||||||
* this is a direct error return from the database handle/API.
|
* this is a direct error return from the database handle/API.
|
||||||
|
Loading…
Reference in New Issue
Block a user