Bug 249598
Summary: | Finalize to fix VACUUM error | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, nham, sihui_liu, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=259284 |
Ahmad Saleem
Hi Team,
While going through Blink's commit, I came across another potential merge:
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/5c41773bd57e33b38ef6aa2d049343abe5c18596
^ No Test case unfortunately.
WebKit source - https://searchfox.org/wubkat/source/Source/WebCore/platform/sql/SQLiteDatabase.cpp#670
This is still present in Chromium / Blink source: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webdatabase/sqlite/sqlite_database.cc;l=401
Just wanted to raise this bug.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
As per Bug 62129, this will fix assertion failure. Should we dupe this to earlier bug or we just close other one with this?
Can I land this without testcase? I am happy to do PR.
Radar WebKit Bug Importer
<rdar://problem/103712693>
Ben Nham
Thanks for the bug report. We don't have a finalize method on SQLiteStatement. Instead we just count on the destructor to do that. Something like this should work (didn't test): https://gist.github.com/bnham/13547c6ea97f634254963958f778db28
Make a PR and I can review it. If it's simple enough I can accept it without a test case.
Ahmad Saleem
Fingers Crossed - https://github.com/WebKit/WebKit/pull/8341
EWS
Committed 258673@main (8217dce03e25): <https://commits.webkit.org/258673@main>
Reviewed commits have been landed. Closing PR #8341 and removing active labels.