- Patch #51841 by m3avrck: added missing utf-8 declaration.
parent
e19845cb17
commit
61fa1f5dc8
|
@ -1663,7 +1663,7 @@ function system_update_173() {
|
||||||
description varchar(255) NOT NULL default '',
|
description varchar(255) NOT NULL default '',
|
||||||
list tinyint(1) unsigned NOT NULL default 0,
|
list tinyint(1) unsigned NOT NULL default 0,
|
||||||
PRIMARY KEY (fid, vid)
|
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}');
|
$ret[] = update_sql('INSERT INTO {file_revisions} SELECT fid, vid, description, list FROM {files}');
|
||||||
|
|
||||||
// alter files table
|
// alter files table
|
||||||
|
@ -1677,8 +1677,7 @@ function system_update_173() {
|
||||||
filemime varchar(255) NOT NULL default '',
|
filemime varchar(255) NOT NULL default '',
|
||||||
filesize int(10) unsigned NOT NULL default 0,
|
filesize int(10) unsigned NOT NULL default 0,
|
||||||
PRIMARY KEY (fid)
|
PRIMARY KEY (fid)
|
||||||
) TYPE=MyISAM
|
) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */");
|
||||||
/*!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("INSERT IGNORE INTO {files} SELECT fid, nid, filename, filepath, filemime, filesize FROM {files_copy}");
|
||||||
$ret[] = update_sql("DROP TABLE {files_copy}");
|
$ret[] = update_sql("DROP TABLE {files_copy}");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue