diff options
Diffstat (limited to 'app/sql/connection.h')
-rw-r--r-- | app/sql/connection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/sql/connection.h b/app/sql/connection.h index b89fb1a..0bd28ca 100644 --- a/app/sql/connection.h +++ b/app/sql/connection.h @@ -261,6 +261,10 @@ class Connection { // Returns the error code associated with the last sqlite operation. int GetErrorCode() const; + // Returns the errno associated with GetErrorCode(). See + // SQLITE_LAST_ERRNO in SQLite documentation. + int GetLastErrno() const; + // Returns a pointer to a statically allocated string associated with the // last sqlite operation. const char* GetErrorMessage() const; |