IDB: HTML5 Rocks Indexed Database demo fails
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Feb 2014 05:42:05 +0000 (05:42 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Feb 2014 05:42:05 +0000 (05:42 +0000)
commit669e903b2e19694188822fe0ba1cc947485de558
treec4e5397227e0c19b91e5ff0076820c70f334e82c
parentece96da885467d73883bf15f0e0378ab2ebd1b44
IDB: HTML5 Rocks Indexed Database demo fails
https://bugs.webkit.org/show_bug.cgi?id=128157

Reviewed by Anders Carlsson (Provisional review by Jon Lee)

* DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp:
(WebKit::getIndexStatement): Only increment the open/closed counters if those keys exist.
  Fix order of statements for no lower key.
(WebKit::getObjectStoreStatement): Only increment the open/closed counters if those keys exist.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/SQLiteIDBCursor.cpp