Commit 61fa1f5d authored by Dries's avatar Dries
Browse files

- Patch #51841 by m3avrck: added missing utf-8 declaration.

parent e19845cb
......@@ -1663,7 +1663,7 @@ function system_update_173() {
description varchar(255) NOT NULL default '',
list tinyint(1) unsigned NOT NULL default 0,
PRIMARY KEY (fid, vid)
) TYPE=MyISAM");
) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */");
$ret[] = update_sql('INSERT INTO {file_revisions} SELECT fid, vid, description, list FROM {files}');
// alter files table
......@@ -1677,8 +1677,7 @@ function system_update_173() {
filemime varchar(255) NOT NULL default '',
filesize int(10) unsigned NOT NULL default 0,
PRIMARY KEY (fid)
) TYPE=MyISAM
/*!40100 DEFAULT CHARACTER SET utf8 */");
) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */");
$ret[] = update_sql("INSERT IGNORE INTO {files} SELECT fid, nid, filename, filepath, filemime, filesize FROM {files_copy}");
$ret[] = update_sql("DROP TABLE {files_copy}");
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment