gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1797 - in GNUnet: . src/applications/sqstore_sqlite


From: durner
Subject: [GNUnet-SVN] r1797 - in GNUnet: . src/applications/sqstore_sqlite
Date: Sat, 20 Aug 2005 13:20:47 -0700 (PDT)

Author: durner
Date: 2005-08-20 13:20:43 -0700 (Sat, 20 Aug 2005)
New Revision: 1797

Modified:
   GNUnet/ChangeLog
   GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
increase page size

Modified: GNUnet/ChangeLog
===================================================================
--- GNUnet/ChangeLog    2005-08-20 20:03:24 UTC (rev 1796)
+++ GNUnet/ChangeLog    2005-08-20 20:20:43 UTC (rev 1797)
@@ -2,6 +2,8 @@
        Changed sqlite data format to avoid encoding-decoding
        (breaks compatibility with previous datastores, in particular
         since conversion code is NOT provided).
+        The page size was also increased, rendering the database files
+        incompatible, too.
 
 Thu Aug 18 21:18:28 PDT 2005
        Made quotations match GNU standards.

Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c     2005-08-20 20:03:24 UTC 
(rev 1796)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c     2005-08-20 20:20:43 UTC 
(rev 1797)
@@ -875,6 +875,7 @@
   sqlite3_exec(dbh->dbf, "PRAGMA temp_store=MEMORY", NULL, NULL, NULL);
   sqlite3_exec(dbh->dbf, "PRAGMA synchronous=OFF", NULL, NULL, NULL);
   sqlite3_exec(dbh->dbf, "PRAGMA count_changes=OFF", NULL, NULL, NULL);
+  sqlite3_exec(dbh->dbf, "PRAGMA page_size=4096", NULL, NULL, NULL);
 
   sq_prepare("Select 1 from sqlite_master where tbl_name = 'gn070'",
             &stmt);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]