diff options
author | pixel <pixel> | 2007-04-12 18:20:01 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-12 18:20:01 +0000 |
commit | 1fdd95292cdf7f58109cc3fc5ab5ead2288f1bfc (patch) | |
tree | f0b07a17373642e1324c032b70a67fcb88d9dae6 /include | |
parent | 753b838216316509ba5069ce44214630042bd33d (diff) |
'query' now returns an error code instead of throwing an exception.
Diffstat (limited to 'include')
-rw-r--r-- | include/SQL.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SQL.h b/include/SQL.h index fa1a163..4d794d5 100644 --- a/include/SQL.h +++ b/include/SQL.h @@ -11,7 +11,7 @@ class SQLConnection : public Base { public: SQLConnection(String host, String user, String passwd, String db, int port = 3306, String socket = "", unsigned long clags = 0) throw (GeneralException); ~SQLConnection(); - void query(String) throw (GeneralException); + int query(String); int numrows(); int numfields(); AssocArray fetchrow(); |