Reviewed by Anders and Tim Hatcher
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jul 2006 00:27:22 +0000 (00:27 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jul 2006 00:27:22 +0000 (00:27 +0000)
commit558a0e22f232da5d23063e848b9cba3ca27fc6ff
tree9da00f95c14f68fd6d57c576864da202f789a827
parentfa46f6bab09510a600fa457c22c20ec50b5b9445
    Reviewed by Anders and Tim Hatcher

        Added an accessor to a SQLite config option to change its disk-syncing behavior.
        Used this accessor to significantly speed up writes to the Icon DB.

        * icon/IconDatabase.cpp:
        (WebCore::IconDatabase::open):  Disable full syncing to the SQLite db to speed up writes to the icondb

        * icon/SQLDatabase.cpp:
        (SQLDatabase::setFullsync):
        (SQLDatabase::setSynchronous):
        * icon/SQLDatabase.h:
        (WebCore::SQLDatabase::):  Added accessor to the SQLite config pragma "synchronous"

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/icon/IconDatabase.cpp
WebCore/icon/SQLDatabase.cpp
WebCore/icon/SQLDatabase.h