diff options
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index b1bb7df7e..b3b30f256 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c | |||
@@ -349,8 +349,7 @@ database_setup (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
349 | * we only test equality on it and can cast it to/from uint32_t. For repl, prio, and anonLevel | 349 | * we only test equality on it and can cast it to/from uint32_t. For repl, prio, and anonLevel |
350 | * we do math or inequality tests, so we can't handle the entire range of uint32_t. | 350 | * we do math or inequality tests, so we can't handle the entire range of uint32_t. |
351 | * This will also cause problems for expiration times after 294247-01-10-04:00:54 UTC. | 351 | * This will also cause problems for expiration times after 294247-01-10-04:00:54 UTC. |
352 | */ | 352 | */if ((SQLITE_DONE == sqlite3_step (stmt)) && |
353 | if ((SQLITE_DONE == sqlite3_step (stmt)) && | ||
354 | (SQLITE_OK != sqlite3_exec (plugin->dbh, | 353 | (SQLITE_OK != sqlite3_exec (plugin->dbh, |
355 | "CREATE TABLE gn091 (" | 354 | "CREATE TABLE gn091 (" |
356 | " repl INT4 NOT NULL DEFAULT 0," | 355 | " repl INT4 NOT NULL DEFAULT 0," |
@@ -1350,4 +1349,5 @@ libgnunet_plugin_datastore_sqlite_done (void *cls) | |||
1350 | return NULL; | 1349 | return NULL; |
1351 | } | 1350 | } |
1352 | 1351 | ||
1352 | |||
1353 | /* end of plugin_datastore_sqlite.c */ | 1353 | /* end of plugin_datastore_sqlite.c */ |