develop #8

Merged
cromer merged 11 commits from develop into master 2022-11-29 00:09:38 -03:00
3 changed files with 6 additions and 0 deletions
Showing only changes of commit 2ca55543ab - Show all commits

View File

@ -114,6 +114,8 @@ int obelisk::Entity::insertEntity(sqlite3* dbConnection)
setId((int) sqlite3_last_insert_rowid(dbConnection));
}
sqlite3_set_last_insert_rowid(dbConnection, 0);
result = sqlite3_finalize(ppStmt);
if (result != SQLITE_OK)
{

View File

@ -147,6 +147,8 @@ int obelisk::Fact::insertFact(sqlite3* dbConnection)
setId((int) sqlite3_last_insert_rowid(dbConnection));
}
sqlite3_set_last_insert_rowid(dbConnection, 0);
result = sqlite3_finalize(ppStmt);
if (result != SQLITE_OK)
{

View File

@ -117,6 +117,8 @@ int obelisk::Verb::insertVerb(sqlite3* dbConnection)
setId((int) sqlite3_last_insert_rowid(dbConnection));
}
sqlite3_set_last_insert_rowid(dbConnection, 0);
result = sqlite3_finalize(ppStmt);
if (result != SQLITE_OK)
{