Commit graph

8 commits

Author SHA1 Message Date
Brion Vibber
a21727d395 * (bug 11450) Fix creation of objectcache table on upgrade
patch-objectcache.sql had an extra 'binary' specifier which wasn't needed and causes the table creation to fail. Whoops! :)
2007-09-25 15:08:50 +00:00
Tim Starling
1842f903c2 Updated patch files to match the recent update to tables.sql. Removed some defunct patch files. Tested with a 1.3 -> 1.11 upgrade. 2007-06-22 20:09:59 +00:00
Tim Starling
0a93752af6 * Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable.
* 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.
2007-04-22 14:04:06 +00:00
Domas Mituzas
88932b0758 put TYPE back in, now as it's back in 5.1 ;-) 2006-04-08 21:11:13 +00:00
Domas Mituzas
0b25a247a1 replace TYPE= with ENGINE=, (supported since 4.0, TYPE deprecated since 4.1) 2006-03-12 14:35:03 +00:00
Brion Vibber
fa8603c521 Use InnoDB by default for table creations if available. 2005-05-02 08:40:17 +00:00
Tim Starling
722e946b52 added /*$wgDBprefix*/ in various places, to support upgrading from old prefixed databases, e.g. mine 2005-01-14 13:33:17 +00:00
Brion Vibber
0c2fba0ac4 Add an objectcache table for limited caching when memcached isn't
available. Currently using for the message cache to avoid reading
every message separately. This now is only slightly slower than
memcached in my tests when $wgUseDatabaseMessages is enabled, so
it's a bit of a speedup for common hosts.
2004-05-09 05:12:55 +00:00