[engines] Fix warnings when changing table engine to Maria.

bug #2983062, patch #2989408
This commit is contained in:
Madhura Jayaratne
2010-04-20 10:20:58 +02:00
committed by Michal Čihař
parent 69dd779f40
commit 769aec95ef
2 changed files with 6 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ if (isset($_REQUEST['submitoptions'])) {
$tbl_type = $_REQUEST['new_tbl_type'];
// reset the globals for the new engine
PMA_set_global_variables_for_engine($tbl_type);
if ($is_maria) {
$transactional = (isset($transactional) && $transactional == '0') ? '0' : '1';
$page_checksum = (isset($page_checksum)) ? $page_checksum : '';
}
}
if (! empty($_REQUEST['tbl_collation'])