mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +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.
|
||||
*/
|
||||
native dbi_free_result(Result:_result);
|
||||
native dbi_free_result(&Result:result);
|
||||
|
||||
/* Closes a database handle. Internally, it will also
|
||||
* mark the handle as free, so this particular handle may
|
||||
* 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,
|
||||
* this is a direct error return from the database handle/API.
|
||||
|
Loading…
Reference in New Issue
Block a user