Bug 212090

Summary: SQLite database fails to close in SQLiteIDBBackingStore::databaseNameFromFile
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: WebCore Misc.Assignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: alecflett, beidson, darin, ews-watchlist, jsbell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Sihui Liu 2020-05-19 10:24:49 PDT
...
Comment 1 Sihui Liu 2020-05-19 10:27:38 PDT
Created attachment 399747 [details]
Patch
Comment 2 Darin Adler 2020-05-19 17:46:50 PDT
Comment on attachment 399747 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=399747&action=review

> Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:924
>          database.close();

I suggest removing this line of code also.

> Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:-929
> -    database.close();

I don’t think you need to do the rest of this change. Just removing this line of code alone should fix the bug, without the restructuring.
Comment 3 Sihui Liu 2020-05-21 10:32:23 PDT
Created attachment 399965 [details]
Patch for landing
Comment 4 EWS 2020-05-21 11:03:02 PDT
Committed r262015: <https://trac.webkit.org/changeset/262015>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399965 [details].
Comment 5 Radar WebKit Bug Importer 2020-05-21 11:04:14 PDT
<rdar://problem/63501180>