Bug 81470 - [Qt] Don't prepare SQL statements when the database is not open
Summary: [Qt] Don't prepare SQL statements when the database is not open
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexander Færøy
Depends on:
Reported: 2012-03-18 04:29 PDT by Alexander Færøy
Modified: 2012-03-18 17:23 PDT (History)
1 user (show)

See Also:

Patch (2.60 KB, patch)
2012-03-18 04:31 PDT, Alexander Færøy
kenneth: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Færøy 2012-03-18 04:29:34 PDT
We are currently preparing the SQL statements in the cookie jar regardless of whether or not the database is actually open. Due to this the terminal will be spammed with messages like:

QSqlQuery::prepare: database not open

Patch coming up.
Comment 1 Alexander Færøy 2012-03-18 04:31:46 PDT
Created attachment 132488 [details]
Comment 2 Alexander Færøy 2012-03-18 04:32:09 PDT
Adding Dr. Kenneth for review!
Comment 3 Alexander Færøy 2012-03-18 17:23:37 PDT
Committed r111142: <http://trac.webkit.org/changeset/111142>