summaryrefslogtreecommitdiff
path: root/include/SQL.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/SQL.h')
-rw-r--r--include/SQL.h2
1 files changed, 2 insertions, 0 deletions
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;