Bug 154735

Summary: Modern IDB: Using existing database info from SQLite backing store is busted
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, commit-queue, jsbell
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117    
Attachments:
Description Flags
Patch v1 none

Description Brady Eidson 2016-02-26 10:45:00 PST
Modern IDB: Using existing database info from SQLite backing store is busted

Extracting the database info on the backing store thread works fine.

When we do a thread-safe copy back to the main thread, object store infos weren't copied.

Yikes.
Comment 1 Brady Eidson 2016-02-26 10:45:25 PST
<rdar://problem/24848143>
Comment 2 Brady Eidson 2016-02-26 10:47:48 PST
Also there was an obvious code path where we don't migrate index records from existing databases.  *sigh*
Comment 3 Brady Eidson 2016-02-26 10:51:09 PST
Created attachment 272340 [details]
Patch v1
Comment 4 WebKit Commit Bot 2016-02-26 11:49:29 PST
Comment on attachment 272340 [details]
Patch v1

Clearing flags on attachment: 272340

Committed r197190: <http://trac.webkit.org/changeset/197190>
Comment 5 WebKit Commit Bot 2016-02-26 11:49:34 PST
All reviewed patches have been landed.  Closing bug.