RESOLVED FIXED 153425
Modern IDB: Implement getIndexRecord in the SQLite backing store
https://bugs.webkit.org/show_bug.cgi?id=153425
Summary Modern IDB: Implement getIndexRecord in the SQLite backing store
Brady Eidson
Reported 2016-01-25 09:17:44 PST
Modern IDB: Implement getIndexRecord in the SQLite backing store
Attachments
Patch v1 (8.39 KB, patch)
2016-01-25 09:19 PST, Brady Eidson
no flags
Brady Eidson
Comment 1 2016-01-25 09:19:40 PST
Created attachment 269754 [details] Patch v1
Darin Adler
Comment 2 2016-01-25 09:29:29 PST
Comment on attachment 269754 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=269754&action=review > Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:1150 > + getResult = { SharedBuffer::create(cursor->currentValueBuffer().data(), cursor->currentValueBuffer().size()) }; Is there a way to do this without copying? SharedBuffer knows how to adopt a Vector<char> but not a Vector<uint8_t>. Might be a topic worth returning to.
Brady Eidson
Comment 3 2016-01-25 09:57:47 PST
(In reply to comment #2) > Comment on attachment 269754 [details] > Patch v1 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=269754&action=review > > > Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:1150 > > + getResult = { SharedBuffer::create(cursor->currentValueBuffer().data(), cursor->currentValueBuffer().size()) }; > > Is there a way to do this without copying? SharedBuffer knows how to adopt a > Vector<char> but not a Vector<uint8_t>. Might be a topic worth returning to. Definitely plan on returning to this. Right now I'm trying to shovel over the WebKit2 SQLite backend with minimal changes, but I definitely plan to give it a once over afterwards. Thanks!
WebKit Commit Bot
Comment 4 2016-01-25 10:20:32 PST
Comment on attachment 269754 [details] Patch v1 Clearing flags on attachment: 269754 Committed r195541: <http://trac.webkit.org/changeset/195541>
WebKit Commit Bot
Comment 5 2016-01-25 10:20:35 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.