# # # patch "ChangeLog" # from [b7922281f68bf2b7c18f816c9e0ae1001f355ff4] # to [3794321690d72a1ab33f85365c34bb9f7795b331] # # patch "database.cc" # from [8e4d19ee73104472276b9f352fe88c512cc2a056] # to [06897263dccafc0cc2cfd8f521c14865ecf4ac61] # # patch "schema.sql" # from [d811d7503305093359874d46f1142861657642c0] # to [2ce34023fdde9799f435ad2f016f509aed3fa25e] # # patch "unit_tests.cc" # from [5f4e6b96f89134edb6d35c799b26932587dc3679] # to [a9f5606a66179106bd461d4a34d8444e142a8ad2] # ============================================================ --- ChangeLog b7922281f68bf2b7c18f816c9e0ae1001f355ff4 +++ ChangeLog 3794321690d72a1ab33f85365c34bb9f7795b331 @@ -1,3 +1,7 @@ +2006-03-15 Matt Johnston + + * database.cc (db::load), schema.sql: PRAGMA page_size=8192 + 2006-03-13 Richard Levitte * tests/t_serve_ignores_mt_options.at: New test to check that ============================================================ --- database.cc 8e4d19ee73104472276b9f352fe88c512cc2a056 +++ database.cc 06897263dccafc0cc2cfd8f521c14865ecf4ac61 @@ -455,6 +455,9 @@ open(); + // the page size can only be set before any other commands have been executed + sqlite3_exec(__sql, "PRAGMA page_size=8192", NULL, NULL, NULL); + while(in) { getline(in, line, ';'); ============================================================ --- schema.sql d811d7503305093359874d46f1142861657642c0 +++ schema.sql 2ce34023fdde9799f435ad2f016f509aed3fa25e @@ -13,6 +13,8 @@ -- licensed to the public under the terms of the GNU GPL 2.1+ -- see the file COPYING for details +PRAGMA page_size=8192; + -- Transactions avoid syncing for each action, db init gets faster. BEGIN EXCLUSIVE; ============================================================ --- unit_tests.cc 5f4e6b96f89134edb6d35c799b26932587dc3679 +++ unit_tests.cc a9f5606a66179106bd461d4a34d8444e142a8ad2 @@ -19,7 +19,7 @@ { if (!clean_shutdown) global_sanity.dump_buffer(); - Botan::Init::deinitialize(); + Botan::Init::deinitialize(); } void clean_shutdown_dummy_test()