added a line for catching "set" field type in the character set update

created a full database dump in UTF-8 encoding for installer
This commit is contained in:
james 2010-06-09 15:41:50 +00:00
parent 4799b4ffd8
commit 4c9692682a
2 changed files with 3044 additions and 1 deletions

3043
db/db.full.175.sql Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@ function db_update_173_post(){
while($rowInfo = mysql_fetch_array($query)){
// find out if this field is a varchar, char, text, or tinytext field
if(preg_match('/.*char.*|.*text.*|.*enum.*/i', $rowInfo['Type'])){
if(preg_match('/.*char.*|.*text.*|.*enum.*|set.*/i', $rowInfo['Type'])){
// it does, so this field needs to be converted
if(!array_key_exists($tableName, $fields)){
$fields[$tableName] = array();