projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1847baf
)
Process/FixMysqlCharset.php
author
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:34:54 +0000
(10:34 +0800)
committer
Alan
<alan@roojs.com>
Wed, 23 Aug 2023 02:34:54 +0000
(10:34 +0800)
Process/FixMysqlCharset.php
patch
|
blob
|
history
diff --git
a/Process/FixMysqlCharset.php
b/Process/FixMysqlCharset.php
index
4908db1
..
6f4a8ab
100644
(file)
--- a/
Process/FixMysqlCharset.php
+++ b/
Process/FixMysqlCharset.php
@@
-113,7
+113,7
@@
class Pman_Core_Process_FixMysqlCharset extends Pman_Core_Cli {
while ($t->fetch()) {
$this->triggers[] = $t->toArray('%s', true);
$d = DB_DataObject::factory($tbl);
- $d->query("
ALTER TABLE {$tbl} DROP trigger
{$t->Trigger}");
+ $d->query("
DROP TRIGGER
{$t->Trigger}");
}
exit;