r71571 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71570‎ | r71571 | r71572 >
Date:17:34, 24 August 2010
Author:greg
Status:ok
Tags:
Comment:
Allow both single and double quotes for ENUM values (even though we should standardize on one or the other)
Modified paths:
  • /trunk/phase3/maintenance/postgres/compare_schemas.pl (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/compare_schemas.pl
@@ -43,7 +43,7 @@
4444 timestamp datetime
4545 tinyblob mediumblob blob
4646 );
47 -$datatype .= q{|ENUM\([\"\w, ]+\)};
 47+$datatype .= q{|ENUM\([\"\w\', ]+\)};
4848 $datatype = qr{($datatype)};
4949
5050 my $typeval = qr{(\(\d+\))?};

Status & tagging log