projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0d268
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 30 Oct 2013 06:14:47 +0000
(14:14 +0800)
committer
Edward
<edward@roojs.com>
Wed, 30 Oct 2013 06:14:47 +0000
(14:14 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
a3fcd74
..
45fdb7f
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-357,9
+357,10
@@
class Pman_Core_UpdateDatabase extends Pman
}
- $m = array();
+ // CREATE INDEX ..ignore
if (preg_match('#alter\s+table\s+([a-z0-9_]+)\s+add\s+index\s+([^(]+)(.*)$#i', $l, $m)) {
- $l = "CREATE INDEX {$m[1]}_{$m[2]} ON {$m[1]} {$m[3]}";
+// $l = "CREATE INDEX {$m[1]}_{$m[2]} ON {$m[1]} {$m[3]}";
+ continue;
}
// ALTER TABLE core_event_audit ADD INDEX looku
// CREATE INDEX