From ef100f12a1346f7bfd2a05dc606cb22e97179c02 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 12 Feb 2016 18:39:03 -0500 Subject: Fix rollback.txt migration Broken by b1965ac20922e3722392114bd63a22b403dcbe98. This also prepares the begin and commit statements only once. --- src/rollback.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rollback.h') diff --git a/src/rollback.h b/src/rollback.h index c57e38ab0..a05ef8b78 100644 --- a/src/rollback.h +++ b/src/rollback.h @@ -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 actionRowsFromSelect(sqlite3_stmt * stmt); ActionRow actionRowFromRollbackAction(const RollbackAction & action); -- cgit v1.2.3