Commit graph

7 commits

Author SHA1 Message Date
umherirrender
e256c69f9a Remove a bunch of trailing spaces and unneeded newlines
Change-Id: If9fb04f64389b9b40c13f3372ad4792c2e14def0
2012-10-20 13:35:38 +02:00
Roan Kattouw
051e1e7624 Self-revert r80547 per CR, breaks stuff and is undesirable 2011-01-20 23:56:47 +00:00
Roan Kattouw
8b70c17d24 War on varchar. Changed all occurrences of varchar(N) and varchar(N) binary to varbinary(N). varchars cause problems ("Invalid mix of collations" errors) on MySQL databases with certain configs, most notably the default MySQL config 2011-01-19 01:11:21 +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
Brion Vibber
241fadbc29 * (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility
with MySQL's strict mode, often enabled by the Windows installer.
  The defaults are ignored anyway when strict mode is off...
* (bug 7685) Use explicit values for ar_text and ar_flags when deleting,
  for better compatibility with MySQL's strict mode
2006-12-21 21:40:43 +00:00
Brion Vibber
8a42f0b1a8 (bug 2099) Deleted files can now be archived and undeleted, if you set up an appropriate non-web-accessible directory.
Set $wgSaveDeletedFiles on and an appropriate directory path in $wgFileStore['deleted']['directory']
2006-06-16 01:16:45 +00:00