forked from science-ation/science-ation
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:
parent
4799b4ffd8
commit
4c9692682a
3043
db/db.full.175.sql
Normal file
3043
db/db.full.175.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user