Artifacts Associated With Ticket 6e26106a1c2c10669e9c74748a6067309df48474
Ticket change [bb6117eaee] (rid 18036) by jmoon18 on 2019-06-18 16:13:36:
- comment initialized to:
From another user on a read-only database: plxck3045> megatest -import-megatest.db INFO: (0) Records count before clean: 505131 Error: with-transaction: uncaught exception: #f Error: (step!) attempt to write a readonly database: #<sqlite3:statement sql="DELETE FROM tests WHERE run_id in (SELECT id FROM runs WHERE state='deleted') and last_update < 1560809468.0;"> Call history: db.scm:1758: sqlite3#prepare db.scm:1757: g3151 db.scm:1758: sqlite3#prepare db.scm:1757: g3151 db.scm:1758: sqlite3#prepare db.scm:1757: g3151 db.scm:1758: sqlite3#prepare db.scm:1757: g3151 db.scm:1758: sqlite3#prepare db.scm:1780: sqlite3#with-transaction db.scm:1783: sqlite3#for-each-row db.scm:1784: debug:print-info common_records.scm:235: debug:debug-mode common_records.scm:236: port? common_records.scm:236: with-output-to-port db.scm:1786: g3179 <--
- foundin initialized to: "v1.6530"
- login: "jmoon18"
- private_contact initialized to: "bed011348e74e6fdf4825cd6bb9652c7d819dba5"
- severity initialized to: "Important"
- status initialized to: "Open"
- title initialized to:
megatest -import-megatest.db fails on read-only database.
- type initialized to: "Code_Defect"
- comment initialized to:
Ticket change [b34ffdb7bf] (rid 18100) by mmgraham on 2019-07-15 15:45:29:
- icomment:
I found that the 'dejunk option to db:multi-db-sync caused the operation to fail. If I comment out 'dejunk, it works. Perhaps disable -dejunk on read-only source dbs?
- login: "mmgraham"
- mimetype: "text/x-fossil-plain"
- priority changed to: "Immediate"
- resolution changed to: "Open"
- username: "mmgraham"
- icomment:
Ticket change [d1794454a8] (rid 18102) by mmgraham on 2019-07-17 11:51:01:
- icomment:
In dejunk cleanup, I changed it to call db:clean-up on megatest.db only if it's writable. Checked this into v1.65 branch.
- login: "mmgraham"
- mimetype: "text/x-fossil-plain"
- icomment:
Ticket change [053234dd45] (rid 18085) by mmgraham on 2019-07-17 12:26:46:
- login: "mmgraham"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Fixed"