Zeile 238 | Zeile 238 |
---|
$table->construct_cell($lang->please_wait); $table->construct_row();
|
$table->construct_cell($lang->please_wait); $table->construct_row();
|
$table->output($converting_table." {$mybb->input['table']}");
| $table->output($lang->sprintf($lang->converting_table, $mybb->input['table']));
|
$db->set_table_prefix($old_table_prefix);
| $db->set_table_prefix($old_table_prefix);
|
Zeile 280 | Zeile 280 |
---|
$db->write_query("ALTER TABLE {$mybb->input['table']} DEFAULT CHARACTER SET {$character_set} COLLATE {$collation}");
// Fetch any fulltext keys
|
$db->write_query("ALTER TABLE {$mybb->input['table']} DEFAULT CHARACTER SET {$character_set} COLLATE {$collation}");
// Fetch any fulltext keys
|
| $fulltext_to_create = array();
|
if($db->supports_fulltext($mybb->input['table'])) { $table_structure = $db->show_create_table($mybb->input['table']);
| if($db->supports_fulltext($mybb->input['table'])) { $table_structure = $db->show_create_table($mybb->input['table']);
|
Zeile 357 | Zeile 358 |
---|
}
// Any fulltext indexes to recreate?
|
}
// Any fulltext indexes to recreate?
|
if(is_array($fulltext_to_create))
| foreach($fulltext_to_create as $name => $fields)
|
{
|
{
|
foreach($fulltext_to_create as $name => $fields) { $db->create_fulltext_index($mybb->input['table'], $fields, $name); }
| $db->create_fulltext_index($mybb->input['table'], $fields, $name);
|
}
$db->set_table_prefix($old_table_prefix);
| }
$db->set_table_prefix($old_table_prefix);
|
Zeile 438 | Zeile 436 |
---|
exit; }
|
exit; }
|
if($mybb->input['table'] || $mybb->input['do'] == "all")
| if(!empty($mybb->input['table']) || $mybb->input['do'] == "all")
|
{ if(!empty($mybb->input['mb4']) && version_compare($db->get_version(), '5.5.3', '<')) {
| { if(!empty($mybb->input['mb4']) && version_compare($db->get_version(), '5.5.3', '<')) {
|