diff options
author | pixel <pixel> | 2007-04-12 18:10:59 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-12 18:10:59 +0000 |
commit | 753b838216316509ba5069ce44214630042bd33d (patch) | |
tree | 81dd0d7e98be0e3984fe9bd6d138c9c6e5cfdf94 /lib | |
parent | 59dbf59fdad62434e8a736c4d791f22a16ad6c2e (diff) |
Adding error message support.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SQL.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -87,4 +87,12 @@ int SQLConnection::insertid() { return ii; } +int SQLConnection::errno() { + return mysql_errno(&con); +} + +String SQLConnection::error() { + return mysql_error(&con); +} + #endif |