diff options
author | pixel <pixel> | 2007-04-12 18:08:19 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-12 18:08:19 +0000 |
commit | 59dbf59fdad62434e8a736c4d791f22a16ad6c2e (patch) | |
tree | a4be246cdae35fabbb67f9380200649ad7bfb1e4 /lib/SQL.cc | |
parent | d8b98aa297f68e579b8ec98ee12d98fc64315318 (diff) |
Fix...
Diffstat (limited to 'lib/SQL.cc')
-rw-r--r-- | lib/SQL.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ void SQLConnection::query(String q) throw(GeneralException) { nr = mysql_num_rows(res); nf = mysql_num_fields(res); fields = mysql_fetch_fields(res); - na = mysql_affected_rows(res); - ii = mysql_insert_id(res); + na = mysql_affected_rows(&con); + ii = mysql_insert_id(&con); } else { nr = 0; nf = 0; |