Backout of bug 464299 (SQLite upgrade to 3.6.4) due to possible dataloss regression

git-svn-id: svn://10.0.0.236/trunk@255169 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdwilsh%shawnwilsher.com 2008-11-21 19:38:01 +00:00
parent 4342afbdb2
commit e08477d956
6 changed files with 15155 additions and 26822 deletions

View File

@ -128,7 +128,7 @@ LIBGNOME_VERSION=2.0
STARTUP_NOTIFICATION_VERSION=0.8
DBUS_VERSION=0.60
LCMS_VERSION=1.17
SQLITE_VERSION=3.6.4
SQLITE_VERSION=3.5.9
MSMANIFEST_TOOL=

View File

@ -1,6 +1,6 @@
This is sqlite 3.6.4
This is sqlite 3.5.9
-- Shawn Wilsher <me@shawnwilsher.com>, 11/2008
-- Shawn Wilsher <me@shawnwilsher.com>, 06/2008
See http://www.sqlite.org/ for more info.

View File

@ -111,7 +111,9 @@ EXPORTS
sqlite3_mutex_alloc
sqlite3_mutex_enter
sqlite3_mutex_free
sqlite3_mutex_held
sqlite3_mutex_leave
sqlite3_mutex_notheld
sqlite3_mutex_try
sqlite3_mprintf
sqlite3_open

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -766,11 +766,6 @@ nsNavHistory::InitDB(PRInt16 *aMadeChanges)
NS_LITERAL_CSTRING("PRAGMA locking_mode = EXCLUSIVE"));
NS_ENSURE_SUCCESS(rv, rv);
// We use the TRUNCATE journal mode to reduce the number of fsyncs
rv = mDBConn->ExecuteSimpleSQL(
NS_LITERAL_CSTRING("PRAGMA journal_mode = TRUNCATE"));
NS_ENSURE_SUCCESS(rv, rv);
// moz_places
if (!tableExists) {
*aMadeChanges = DB_MIGRATION_CREATED;