no table creation in information_schema

This commit is contained in:
Marc Delisle
2005-07-22 15:25:53 +00:00
parent 0191fc3c33
commit cd1acfae48

View File

@@ -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>
<?php
} // end if
if (PMA_MYSQL_INT_VERSION < 50002 || (PMA_MYSQL_INT_VERSION >= 50002 && $db != 'information_schema')) {
?>
<!-- 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))">
@@ -665,6 +667,7 @@ echo ' ' . '&nbsp;<input type="submit" value="' . $strGo . '" />' .
echo ' </td> </tr>';
echo ' </table>';
echo '</form>';
} // end if (Create Table dialog)
/**
* Displays the footer