summaryrefslogtreecommitdiffstats
path: root/chrome/browser/meta_table_helper.cc
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 16:04:24 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-30 16:04:24 +0000
commitd10365623a3374b7486bd382a96aa0239a8cfbf8 (patch)
tree0b112c031bf44b0be311b86f74c02a90524a0c00 /chrome/browser/meta_table_helper.cc
parent7355526301878eefa8f66635d750b2a5f1cbb508 (diff)
downloadchromium_src-d10365623a3374b7486bd382a96aa0239a8cfbf8.zip
chromium_src-d10365623a3374b7486bd382a96aa0239a8cfbf8.tar.gz
chromium_src-d10365623a3374b7486bd382a96aa0239a8cfbf8.tar.bz2
Re-enable SQL lite preload
We previously disabled it it to see if it was involved with the double free... but the cause has been shown to be a thread-unsafe reference count (not a party to this change). r=brettw Review URL: http://codereview.chromium.org/246036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/meta_table_helper.cc')
-rw-r--r--chrome/browser/meta_table_helper.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/meta_table_helper.cc b/chrome/browser/meta_table_helper.cc
index 2ca9646..f3df3b7 100644
--- a/chrome/browser/meta_table_helper.cc
+++ b/chrome/browser/meta_table_helper.cc
@@ -27,9 +27,7 @@ void MetaTableHelper::PrimeCache(const std::string& db_name, sqlite3* db) {
if (dummy.step() != SQLITE_ROW)
return;
- // TODO(jar): Temporary removal of the following optimization... be sure to
- // put it back in RSN (if we verify that it was not causing crashes).
- // sqlite3Preload(db);
+ sqlite3Preload(db);
}
MetaTableHelper::MetaTableHelper() : db_(NULL) {