From 0c022b154312f594b2f6794114d85064404fe4ad Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 29 Aug 2004 23:42:35 +0000 Subject: [PATCH] Fixed some bugs in admin_sql Changed some things in dbi --- plugins/include/dbi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/dbi.inc b/plugins/include/dbi.inc index 602aed39..91c3237f 100755 --- a/plugins/include/dbi.inc +++ b/plugins/include/dbi.inc @@ -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.