removed MySQL < 5 code
This commit is contained in:
@@ -9,7 +9,6 @@
|
|||||||
*
|
*
|
||||||
* staybyte: speedup view on locked tables - 11 June 2001
|
* staybyte: speedup view on locked tables - 11 June 2001
|
||||||
*
|
*
|
||||||
* @uses PMA_MYSQL_INT_VERSION
|
|
||||||
* @uses $cfg['ShowStats']
|
* @uses $cfg['ShowStats']
|
||||||
* @uses $cfg['ShowTooltip']
|
* @uses $cfg['ShowTooltip']
|
||||||
* @uses $cfg['ShowTooltipAliasTB']
|
* @uses $cfg['ShowTooltipAliasTB']
|
||||||
@@ -108,7 +107,7 @@ $is_show_stats = $cfg['ShowStats'];
|
|||||||
*/
|
*/
|
||||||
$db_is_information_schema = false;
|
$db_is_information_schema = false;
|
||||||
|
|
||||||
if (PMA_MYSQL_INT_VERSION >= 50002 && $db == 'information_schema') {
|
if ($db == 'information_schema') {
|
||||||
$is_show_stats = false;
|
$is_show_stats = false;
|
||||||
$db_is_information_schema = true;
|
$db_is_information_schema = true;
|
||||||
}
|
}
|
||||||
|
@@ -2,10 +2,6 @@
|
|||||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @version $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @todo Support seeing the "results" of the called procedure or
|
* @todo Support seeing the "results" of the called procedure or
|
||||||
* function. This needs further reseach because a procedure
|
* function. This needs further reseach because a procedure
|
||||||
* does not necessarily contain a SELECT statement that
|
* does not necessarily contain a SELECT statement that
|
||||||
@@ -16,13 +12,13 @@
|
|||||||
* our current sql.php.
|
* our current sql.php.
|
||||||
* Of course the interface would need a way to pass calling parameters.
|
* Of course the interface would need a way to pass calling parameters.
|
||||||
* Also, support DEFINER (like we do in export).
|
* Also, support DEFINER (like we do in export).
|
||||||
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
if (PMA_MYSQL_INT_VERSION >= 50002) {
|
$url_query .= '&goto=db_structure.php';
|
||||||
$url_query .= '&goto=db_structure.php';
|
|
||||||
|
|
||||||
$routines = PMA_DBI_fetch_result('SELECT SPECIFIC_NAME,ROUTINE_NAME,ROUTINE_TYPE,DTD_IDENTIFIER FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA= \'' . PMA_sqlAddslashes($db,true) . '\';');
|
$routines = PMA_DBI_fetch_result('SELECT SPECIFIC_NAME,ROUTINE_NAME,ROUTINE_TYPE,DTD_IDENTIFIER FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA= \'' . PMA_sqlAddslashes($db,true) . '\';');
|
||||||
|
|
||||||
if ($routines) {
|
if ($routines) {
|
||||||
echo '<fieldset>' . "\n";
|
echo '<fieldset>' . "\n";
|
||||||
echo ' <legend>' . $strRoutines . '</legend>' . "\n";
|
echo ' <legend>' . $strRoutines . '</legend>' . "\n";
|
||||||
echo '<table border="0">';
|
echo '<table border="0">';
|
||||||
@@ -83,6 +79,5 @@ if (PMA_MYSQL_INT_VERSION >= 50002) {
|
|||||||
}
|
}
|
||||||
echo '</table>';
|
echo '</table>';
|
||||||
echo '</fieldset>' . "\n";
|
echo '</fieldset>' . "\n";
|
||||||
}
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user