[datstore] make sqlite page_size power of two
authorDavid Barksdale <amatus@amat.us>
Thu, 1 Jun 2017 02:06:16 +0000 (21:06 -0500)
committerDavid Barksdale <amatus@amat.us>
Thu, 1 Jun 2017 02:06:16 +0000 (21:06 -0500)
src/datastore/plugin_datastore_sqlite.c

index 323c038566355ad272cf6625552c5b7f6e4bf951..cdadfb87da1410d25b4e5886d1cc7441d1989214 100644 (file)
@@ -305,7 +305,7 @@ database_setup (const struct GNUNET_CONFIGURATION_Handle *cfg,
                        ENULL));
   CHECK (SQLITE_OK ==
          sqlite3_exec (plugin->dbh,
-                       "PRAGMA page_size=4092", NULL, NULL,
+                       "PRAGMA page_size=4096", NULL, NULL,
                        ENULL));
 
   CHECK (SQLITE_OK ==