no table creation in information_schema
This commit is contained in:
@@ -630,6 +630,8 @@ if ($num_tables > 0) {
|
|||||||
<tr><td colspan="3"><img src="<?php echo $GLOBALS['pmaThemeImage'] . 'spacer.png'; ?>" width="1" height="1" border="0" alt="" /></td></tr></table>
|
<tr><td colspan="3"><img src="<?php echo $GLOBALS['pmaThemeImage'] . 'spacer.png'; ?>" width="1" height="1" border="0" alt="" /></td></tr></table>
|
||||||
<?php
|
<?php
|
||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
|
if (PMA_MYSQL_INT_VERSION < 50002 || (PMA_MYSQL_INT_VERSION >= 50002 && $db != 'information_schema')) {
|
||||||
?>
|
?>
|
||||||
<!-- Create a new table -->
|
<!-- Create a new table -->
|
||||||
<form method="post" action="tbl_create.php" onsubmit="return (emptyFormElements(this, 'table') && checkFormElementInRange(this, 'num_fields', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidFieldCount']); ?>', 1))">
|
<form method="post" action="tbl_create.php" onsubmit="return (emptyFormElements(this, 'table') && checkFormElementInRange(this, 'num_fields', '<?php echo str_replace('\'', '\\\'', $GLOBALS['strInvalidFieldCount']); ?>', 1))">
|
||||||
@@ -665,6 +667,7 @@ echo ' ' . ' <input type="submit" value="' . $strGo . '" />' .
|
|||||||
echo ' </td> </tr>';
|
echo ' </td> </tr>';
|
||||||
echo ' </table>';
|
echo ' </table>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
} // end if (Create Table dialog)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Displays the footer
|
* Displays the footer
|
||||||
|
Reference in New Issue
Block a user