projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more quote identeiifers fixessss
[Pman.Core]
/
UpdateDatabase
/
MysqlEngineCharset.php
diff --git
a/UpdateDatabase/MysqlEngineCharset.php
b/UpdateDatabase/MysqlEngineCharset.php
index
f977bbe
..
af2f66b
100644
(file)
--- a/
UpdateDatabase/MysqlEngineCharset.php
+++ b/
UpdateDatabase/MysqlEngineCharset.php
@@
-107,8
+107,8
@@
class Pman_Core_UpdateDatabase_MysqlEngineCharset {
$ce = DB_DataObject::factory('core_enum');
// not sure why, but convert to does not actually change the 'charset=' bit..
$ce = DB_DataObject::factory('core_enum');
// not sure why, but convert to does not actually change the 'charset=' bit..
- $ce->query("ALTER TABLE
$tbl
CHARSET=utf8");
- $ce->query("ALTER TABLE
{$tbl}
CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci");
+ $ce->query("ALTER TABLE
`$tbl`
CHARSET=utf8");
+ $ce->query("ALTER TABLE
`{$tbl}`
CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci");
echo "utf8: FIXED {$tbl}\n";
}
echo "utf8: FIXED {$tbl}\n";
}