1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix rollback.txt migration

Broken by b1965ac209.
This also prepares the begin and commit statements only once.
This commit is contained in:
ShadowNinja 2016-02-12 18:39:03 -05:00
parent 22f78ea38e
commit ef100f12a1
2 changed files with 28 additions and 15 deletions

View file

@ -61,7 +61,7 @@ private:
const char * getActorName(const int id);
const char * getNodeName(const int id);
bool createTables();
void initDatabase();
bool initDatabase();
bool registerRow(const ActionRow & row);
const std::list<ActionRow> actionRowsFromSelect(sqlite3_stmt * stmt);
ActionRow actionRowFromRollbackAction(const RollbackAction & action);