r34550 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34549‎ | r34550 | r34551 >
Date:06:43, 10 May 2008
Author:nad
Status:old
Tags:
Comment:
remove doubled up statement
Modified paths:
  • /trunk/phase3/includes/DatabaseSqlite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DatabaseSqlite.php
@@ -345,7 +345,6 @@
346346 $sql = preg_replace('/^\s*(UNIQUE )?INDEX.+?$/m','',$sql); # These indexes should be created with a CREATE INDEX query
347347 $sql = preg_replace('/^\s*FULLTEXT.+?$/m','',$sql); # Full text indexes
348348 $sql = preg_replace('/ENUM\(.+?\)/','TEXT',$sql); # Make ENUM's into TEXT's
349 - $sql = preg_replace('/ENUM\(.+?\)/','TEXT',$sql); # Make ENUM's into TEXT's
350349 $sql = preg_replace('/binary\(\d+\)/','BLOB',$sql);
351350 $sql = preg_replace('/(TYPE|MAX_ROWS|AVG_ROW_LENGTH)=\w+/','',$sql);
352351 $sql = preg_replace('/,\s*\)/s',')',$sql); # removing previous items may leave a trailing comma

Status & tagging log