Page MenuHomePhabricator

Parser tests don't work on SQLite backend
Closed, ResolvedPublic


A database query syntax error has occurred.
The last attempted database query was:
"INSERT INTO parsertest_interwiki (iw_prefix,iw_url,iw_local) VALUES ('wikipedia','$1','0')"
from within function "DatabaseSqlite::insert/multi-row".
Database returned error "1: table parsertest_interwiki has no column named iw_prefix"

After the test script fails, the database is left with a bunch of parsertest_* tables, each containing one column called "LIKE" - the syntax "CREATE TABLE parsertest_protected_titles (LIKE protected_titles)" doesn't work here.

Version: 1.16.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:56 PM
bzimport set Reference to bz20549.

Improved the situation a bit in r58631, still fails:
"UPDATE parsertest_page SET page_touched = '20091106124936' WHERE page_namespace = '1' AND page_title = 'Main_Page'"
from within function "Title::invalidateCache".
Database returned error "5: database is locked"