diff options
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 |