This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author palaviv
Recipients Ronny.Pfannschmidt, ghaering, palaviv, r.david.murray
Date 2016-10-10.18:04:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476122659.03.0.841102984838.issue20463@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is patch with a fix for this issue. This is not as comprehensive as the solution in apsw but I think this should cover most of the cases. The result for Ronny dump after this fix is:

BEGIN TRANSACTION;
PRAGMA writable_schema=ON;
INSERT INTO sqlite_master(type,name,tbl_name,rootpage,sql)VALUES('table','test','test',0,'CREATE VIRTUAL TABLE test using fts4(example)');
CREATE TABLE 'test_content'(docid INTEGER PRIMARY KEY, 'c0example');
CREATE TABLE 'test_docsize'(docid INTEGER PRIMARY KEY, size BLOB);
CREATE TABLE 'test_segdir'(level INTEGER,idx INTEGER,start_block INTEGER,leaves_end_block INTEGER,end_block INTEGER,root BLOB,PRIMARY KEY(level, idx));
CREATE TABLE 'test_segments'(blockid INTEGER PRIMARY KEY, block BLOB);
CREATE TABLE 'test_stat'(id INTEGER PRIMARY KEY, value BLOB);
PRAGMA writable_schema=OFF;
COMMIT;
History
Date User Action Args
2016-10-10 18:04:19palavivsetrecipients: + palaviv, ghaering, r.david.murray, Ronny.Pfannschmidt
2016-10-10 18:04:19palavivsetmessageid: <1476122659.03.0.841102984838.issue20463@psf.upfronthosting.co.za>
2016-10-10 18:04:19palavivlinkissue20463 messages
2016-10-10 18:04:18palavivcreate