mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Correction for Linux
This commit is contained in:
parent
8cf6d8e8b8
commit
bde2c175a7
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ Release
|
|||||||
*.ncb
|
*.ncb
|
||||||
*.suo
|
*.suo
|
||||||
*.user
|
*.user
|
||||||
|
*~
|
||||||
|
@ -73,7 +73,7 @@ public:
|
|||||||
*
|
*
|
||||||
* @param[in] aTimeoutMs Amount of milliseconds to wait before returning SQLITE_BUSY
|
* @param[in] aTimeoutMs Amount of milliseconds to wait before returning SQLITE_BUSY
|
||||||
*/
|
*/
|
||||||
inline int Database::setBusyTimeout(int aTimeoutMs) // throw(); nothrow
|
inline int setBusyTimeout(int aTimeoutMs) // throw(); nothrow
|
||||||
{
|
{
|
||||||
return sqlite3_busy_timeout(mpSQLite, aTimeoutMs);
|
return sqlite3_busy_timeout(mpSQLite, aTimeoutMs);
|
||||||
}
|
}
|
||||||
@ -83,7 +83,7 @@ public:
|
|||||||
*
|
*
|
||||||
* @return Rowid of the most recent successful INSERT into the database, or 0 if there was none.
|
* @return Rowid of the most recent successful INSERT into the database, or 0 if there was none.
|
||||||
*/
|
*/
|
||||||
inline sqlite3_int64 Database::getLastInsertRowid(void) const // throw(); nothrow
|
inline sqlite3_int64 getLastInsertRowid(void) const // throw(); nothrow
|
||||||
{
|
{
|
||||||
return sqlite3_last_insert_rowid(mpSQLite);
|
return sqlite3_last_insert_rowid(mpSQLite);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user