Closed
Bug 1431149
Opened 6 years ago
Closed 6 years ago
Add an optional schema name argument to `OpenedConnection#{get, set}SchemaVersion`
Categories
(Toolkit :: Storage, enhancement)
Toolkit
Storage
Tracking
()
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
Details
Attachments
(1 file)
This would let us set the schema version on attached databases, as we do in bug 1305563.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•6 years ago
|
||
I thought about validating the schema name, but the official grammar for SQL identifiers is complicated, with quoting rules and whatnot. We could either use a simple RegExp that only allows alphanumeric schema names, or leave it and assume that callers know what they're doing. Since it's an optional argument with one consumer, I'm thinking we leave it.
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8943322 [details] Bug 1431149 - Add an optional schema name argument to `OpenedConnection#{get, set}SchemaVersion`. https://reviewboard.mozilla.org/r/213640/#review219646 Thanks
Attachment #8943322 -
Flags: review?(mak77) → review+
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/410a941bdce8 Add an optional schema name argument to `OpenedConnection#{get, set}SchemaVersion`. r=mak
Comment 5•6 years ago
|
||
Backed out changeset 410a941bdce8 (bug 1431149) for devtools failure on toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete.html https://treeherder.mozilla.org/logviewer.html#?job_id=157165048&repo=autoland&lineNumber=24491 https://hg.mozilla.org/integration/autoland/rev/f8230d6dd54f00b3439e5a587499255e29f9ebd9 https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=410a941bdce8c11ec1da55d6cc541b93a93dda5c
Flags: needinfo?(kit)
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e512081bde6 Add an optional schema name argument to `OpenedConnection#{get, set}SchemaVersion`. r=mak
Updated•6 years ago
|
Flags: needinfo?(kit)
Comment 7•6 years ago
|
||
Backout by mistake and relanded.
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9e512081bde6
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•