WebCore:
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2007 20:27:44 +0000 (20:27 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2007 20:27:44 +0000 (20:27 +0000)
commit05235710859d06f5b99ba5f00bd57a00a95973cd
treeb543bd3950eff98ad5ab113359c7555b34672e69
parent8827227233f1ea744b311420794180807ecc6b6c
WebCore:

        Reviewed by Brady.

        <rdar://problem/5562470>
        openDatabase does not work when the version string is empty

        If the string is empty, pass a real empty string to sqlite3_bind_text16.

        * platform/sql/SQLiteStatement.cpp:
        (WebCore::SQLiteStatement::bindText):

LayoutTests:

        Reviewed by Brady.

        <rdar://problem/5562470>
        openDatabase does not work when the version string is empty

        * storage/open-database-empty-version-expected.txt: Added.
        * storage/open-database-empty-version.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/window-onFocus.html
LayoutTests/storage/open-database-empty-version-expected.txt [new file with mode: 0644]
LayoutTests/storage/open-database-empty-version.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/sql/SQLiteStatement.cpp