Bug 306568
| Summary: | [GTK] IconDatabase tries to use IconDatabaseInfo table even if it does not exist | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | WebKitGTK | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, clopez |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 301086 | ||
Adrian Perez
During creation of the IconDatabase instance, a prepared statement is used to read the "Version" key from the IconDatabaseInfo table. There is no check about whether the table exists, and therefore creation of the prepared statement always fails. After logging was added in 306358@main the logged errors made the issue clear:
ene 30 00:21:21 kodama TestWebKitFaviconDatabase[2637662]: Unable to prepare version statement (1) - no such table: IconDatabaseInfo
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/57515
Carlos Alberto Lopez Perez
*** Bug 306580 has been marked as a duplicate of this bug. ***
EWS
Committed 306459@main (19b29dbb67bb): <https://commits.webkit.org/306459@main>
Reviewed commits have been landed. Closing PR #57515 and removing active labels.