From 753b838216316509ba5069ce44214630042bd33d Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 12 Apr 2007 18:10:59 +0000 Subject: Adding error message support. --- include/SQL.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/SQL.h b/include/SQL.h index 5cccd1c..fa1a163 100644 --- a/include/SQL.h +++ b/include/SQL.h @@ -17,6 +17,8 @@ class SQLConnection : public Base { AssocArray fetchrow(); int numaffectedrows(); int insertid(); + int errno(); + String error(); private: MYSQL con; MYSQL_RES * res; -- cgit v1.2.3