[Qt] Cookie Jar blocks on fsync in SQLITE
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Mar 2012 12:21:01 +0000 (12:21 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Mar 2012 12:21:01 +0000 (12:21 +0000)
commit00987f8e735f1fff6b3d5240e7361723c6ddd429
tree1ad0aa4ac3f949ea4982ef601c1bd53210057419
parentc74331913ea4f8d11d0cdd0a7b573eef34323029
[Qt] Cookie Jar blocks on fsync in SQLITE
https://bugs.webkit.org/show_bug.cgi?id=81755

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-21
Reviewed by Simon Hausmann.

Set PRAGMA synchronous to OFF, which tells SQLITE to never fsync.

* platform/qt/CookieJarQt.cpp:
(WebCore::SharedCookieJarQt::ensureDatabaseTable):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/qt/CookieJarQt.cpp