$GLOBALS['table'] = $pma_table->getName();
         $reread_info = true;
         $reload = true;
     } else {
         $_message .= $pma_table->getLastError();
         $result = false;
     }
 }
 if (isset($_REQUEST['comment']) && urldecode($_REQUEST['prev_comment']) !== $_REQUEST['comment']) {
     $table_alters[] = 'COMMENT = \'' . PMA_sqlAddslashes($_REQUEST['comment']) . '\'';
 }
 if (!empty($_REQUEST['new_tbl_type']) && strtolower($_REQUEST['new_tbl_type']) !== strtolower($tbl_type)) {
     $table_alters[] = 'ENGINE = ' . $_REQUEST['new_tbl_type'];
     $tbl_type = $_REQUEST['new_tbl_type'];
     // reset the globals for the new engine
     PMA_set_global_variables_for_engine($tbl_type);
 }
 if (!empty($_REQUEST['tbl_collation']) && $_REQUEST['tbl_collation'] !== $tbl_collation) {
     $table_alters[] = 'DEFAULT ' . PMA_generateCharsetQueryPart($_REQUEST['tbl_collation']);
 }
 if (($is_myisam_or_maria || $is_isam) && isset($_REQUEST['new_pack_keys']) && $_REQUEST['new_pack_keys'] != (string) $pack_keys) {
     $table_alters[] = 'pack_keys = ' . $_REQUEST['new_pack_keys'];
 }
 $checksum = empty($checksum) ? '0' : '1';
 $_REQUEST['new_checksum'] = empty($_REQUEST['new_checksum']) ? '0' : '1';
 if ($is_myisam_or_maria && $_REQUEST['new_checksum'] !== $checksum) {
     $table_alters[] = 'checksum = ' . $_REQUEST['new_checksum'];
 }
 $_REQUEST['new_transactional'] = empty($_REQUEST['new_transactional']) ? '0' : '1';
 if ($is_maria && $_REQUEST['new_transactional'] !== $transactional) {
     $table_alters[] = 'TRANSACTIONAL = ' . $_REQUEST['new_transactional'];
         $GLOBALS['table'] = $pma_table->getName();
         $reread_info = true;
         $reload = true;
     } else {
         $_message .= $pma_table->getLastError();
         $result = false;
     }
 }
 if (isset($_REQUEST['comment']) && urldecode($_REQUEST['prev_comment']) !== $_REQUEST['comment']) {
     $table_alters[] = 'COMMENT = \'' . PMA_sqlAddSlashes($_REQUEST['comment']) . '\'';
 }
 if (!empty($_REQUEST['new_tbl_storage_engine']) && strtolower($_REQUEST['new_tbl_storage_engine']) !== strtolower($tbl_storage_engine)) {
     $table_alters[] = 'ENGINE = ' . $_REQUEST['new_tbl_storage_engine'];
     $tbl_storage_engine = $_REQUEST['new_tbl_storage_engine'];
     // reset the globals for the new engine
     PMA_set_global_variables_for_engine($tbl_storage_engine);
     if ($is_aria) {
         $transactional = isset($transactional) && $transactional == '0' ? '0' : '1';
         $page_checksum = isset($page_checksum) ? $page_checksum : '';
     }
 }
 if (!empty($_REQUEST['tbl_collation']) && $_REQUEST['tbl_collation'] !== $tbl_collation) {
     $table_alters[] = 'DEFAULT ' . PMA_generateCharsetQueryPart($_REQUEST['tbl_collation']);
 }
 if (($is_myisam_or_aria || $is_isam) && isset($_REQUEST['new_pack_keys']) && $_REQUEST['new_pack_keys'] != (string) $pack_keys) {
     $table_alters[] = 'pack_keys = ' . $_REQUEST['new_pack_keys'];
 }
 $checksum = empty($checksum) ? '0' : '1';
 $_REQUEST['new_checksum'] = empty($_REQUEST['new_checksum']) ? '0' : '1';
 if ($is_myisam_or_aria && $_REQUEST['new_checksum'] !== $checksum) {
     $table_alters[] = 'checksum = ' . $_REQUEST['new_checksum'];