Message278437
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; |
|
Date |
User |
Action |
Args |
2016-10-10 18:04:19 | palaviv | set | recipients:
+ palaviv, ghaering, r.david.murray, Ronny.Pfannschmidt |
2016-10-10 18:04:19 | palaviv | set | messageid: <1476122659.03.0.841102984838.issue20463@psf.upfronthosting.co.za> |
2016-10-10 18:04:19 | palaviv | link | issue20463 messages |
2016-10-10 18:04:18 | palaviv | create | |
|