Closed
Bug 1283083
Opened 9 years ago
Closed 9 years ago
Cloning a connection should also re-attach databases to the clone
Categories
(Core :: SQLite and Embedded Database Bindings, defect)
Core
SQLite and Embedded Database Bindings
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
References
Details
Attachments
(1 file)
When cloning a connection, if it has attached databases, we lose those.
That may be error prone if the consumer expects the 2 connections to work similarly (that is what we try to do by copying pragmas and functions on clone).
I think we should attach the databases to the clone.
We can use PRAGMA database_list for that.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/61402/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/61402/
Attachment #8766565 -
Flags: review?(bugmail)
Comment 2•9 years ago
|
||
Comment on attachment 8766565 [details]
Bug 1283083 - Cloning a connection should re-attach databases to the clone.
https://reviewboard.mozilla.org/r/61402/#review58406
Attachment #8766565 -
Flags: review?(bugmail) → review+
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/fx-team/rev/9b5be9da64ba
Cloning a connection should re-attach databases to the clone. r=asuth
Comment 4•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•6 months ago
|
Product: Toolkit → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•