diff options
author | pixel <pixel> | 2007-04-12 18:07:17 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-12 18:07:17 +0000 |
commit | d8b98aa297f68e579b8ec98ee12d98fc64315318 (patch) | |
tree | 7b6f1a0603f1d7976d2cdf50df9e2d949182699a /include | |
parent | 4d4cc691c8a70d31c1965145d27d68becd42f790 (diff) |
Adding numaffectedrows() and insertid() into the SQL class. Also having
a slightly better error support. Need more work on that though.
Diffstat (limited to 'include')
-rw-r--r-- | include/SQL.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/SQL.h b/include/SQL.h index 4385a6d..5cccd1c 100644 --- a/include/SQL.h +++ b/include/SQL.h @@ -15,10 +15,12 @@ class SQLConnection : public Base { int numrows(); int numfields(); AssocArray fetchrow(); + int numaffectedrows(); + int insertid(); private: MYSQL con; MYSQL_RES * res; - int nr, nf; + int nr, nf, na, ii; MYSQL_FIELD * fields; }; |