2 -- Optional tables for parserTests recording mode
3 -- With --record option, success data will be saved to these tables,
4 -- and comparisons of what's changed from the previous run will be
5 -- displayed at the end of each run.
7 -- These tables currently require MySQL 5 (or maybe 4.1?) for subselects.
10 drop table if exists /*$wgDBprefix*/testitem;
11 drop table if exists /*$wgDBprefix*/testrun;
13 create table /*$wgDBprefix*/testrun (
14 tr_id int not null auto_increment,
16 tr_date char(14) binary,
25 create table /*$wgDBprefix*/testitem (
30 unique key (ti_run, ti_name),
31 key (ti_run, ti_success),
33 foreign key (ti_run) references /*$wgDBprefix*/testrun(tr_id)