* Added table option variable to the SQL patch files, so now upgrading a non-standard schema won't leave your database horribly corrupted. * Added sql.php, for sourcing SQL files with MediaWiki variable substitution. * Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the various problems that occur when it is on.
12 lines
288 B
SQL
12 lines
288 B
SQL
CREATE TABLE /*$wgDBprefix*/querycache_info (
|
|
|
|
-- Special page name
|
|
-- Corresponds to a qc_type value
|
|
qci_type varchar(32) NOT NULL default '',
|
|
|
|
-- Timestamp of last update
|
|
qci_timestamp char(14) NOT NULL default '19700101000000',
|
|
|
|
UNIQUE KEY ( qci_type )
|
|
|
|
) /*$wgDBTableOptions*/;
|