[Webkit-unassigned] [Bug 116223] New: SQLiteStatement::getColumnBlob() calls finalize(), prepare(), and step() unnecessary.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 16 07:42:28 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=116223
Summary: SQLiteStatement::getColumnBlob() calls finalize(),
prepare(), and step() unnecessary.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: liachen at blackberry.com
In SQLiteStatement::getColumnBlob(), it calls finalize(), prepare(), and step() unconditionally, which makes user can never get blob data out through this method. It should be changed to match method like getColumnBlobAsString() and getColumnBlobAsVector(), which assumes when m_statement is there then prepare() and step() have been called before this being called. And this will match what bindBlob() does, saving any binary data with defined length.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list