Index: trunk/phase3/includes/DatabaseSqlite.php |
— | — | @@ -345,7 +345,6 @@ |
346 | 346 | $sql = preg_replace('/^\s*(UNIQUE )?INDEX.+?$/m','',$sql); # These indexes should be created with a CREATE INDEX query |
347 | 347 | $sql = preg_replace('/^\s*FULLTEXT.+?$/m','',$sql); # Full text indexes |
348 | 348 | $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 |
350 | 349 | $sql = preg_replace('/binary\(\d+\)/','BLOB',$sql); |
351 | 350 | $sql = preg_replace('/(TYPE|MAX_ROWS|AVG_ROW_LENGTH)=\w+/','',$sql); |
352 | 351 | $sql = preg_replace('/,\s*\)/s',')',$sql); # removing previous items may leave a trailing comma |