Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15298/include
Modified Files:
functions_installer.inc.php
Log Message:
PLEASE TEST, THIS IS IMPORTANT!
* Fix CSS not visible in upgrader (there must be a cleaner way to do
this, I admit I feel bad with this solution)
* Fix SQL index key creation, the parse_sql regexp didn't catch many
lines. Create those missing SQL keys for alpha10 upgrade
* Upgrader didn't emit SQL error messages
* serendipity_db_query is now able to expect errors (like for this
alpha10 upgrade)
PLEASE TEST, THIS IS IMPORTANT!
Index: functions_installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_installer.inc.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- functions_installer.inc.php 17 Jan 2005 19:07:21 -0000 1.28
+++ functions_installer.inc.php 19 Jan 2005 10:22:11 -0000 1.29
@@ -429,7 +429,7 @@
$def = $line;
}
- if (preg_match('#^create\s*(\{fulltext\}|unique)\s*index#i', $line)) {
+ if (preg_match('#^create\s*(\{fulltext\}|unique|\{fulltext_mysql\})?\s*index#i', $line)) {
array_push($queries, $line);
}
}
|