Bug #720846
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-04-14 Garvin Hicking <me@supergarv.de>
|
||||||
|
* libraries/common.lib.php3: Fixed SHOW TABLE STATUS LIKE ... FROM ...
|
||||||
|
usage. (Bug #720846)
|
||||||
|
|
||||||
2003-04-13 Marc Delisle <lem9@users.sourceforge.net>
|
2003-04-13 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/french: update
|
* lang/french: update
|
||||||
* lang/spanish: Updates, thanks to Dr. med. Daniel Hinostroza C.
|
* lang/spanish: Updates, thanks to Dr. med. Daniel Hinostroza C.
|
||||||
|
@@ -1224,7 +1224,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
{
|
{
|
||||||
global $err_url, $cfg;
|
global $err_url, $cfg;
|
||||||
if (PMA_MYSQL_INT_VERSION >= 32303) {
|
if (PMA_MYSQL_INT_VERSION >= 32303) {
|
||||||
$local_query = 'SHOW TABLE STATUS LIKE \'' . PMA_sqlAddslashes($table, TRUE) . '\' FROM \'' . PMA_sqlAddslashes($table, TRUE) . '\'';
|
$local_query = 'SHOW TABLE STATUS LIKE \'' . PMA_sqlAddslashes($table, TRUE) . '\' FROM \'' . PMA_sqlAddslashes($db, TRUE) . '\'';
|
||||||
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url);
|
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url);
|
||||||
$showtable = PMA_mysql_fetch_array($result);
|
$showtable = PMA_mysql_fetch_array($result);
|
||||||
$num = (isset($showtable['Rows']) ? $showtable['Rows'] : 0);
|
$num = (isset($showtable['Rows']) ? $showtable['Rows'] : 0);
|
||||||
@@ -1277,7 +1277,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
|
|
||||||
// Corrects the tooltip text via JS if required
|
// Corrects the tooltip text via JS if required
|
||||||
else if (!empty($GLOBALS['table']) && $cfg['ShowTooltip'] && PMA_MYSQL_INT_VERSION >= 32303) {
|
else if (!empty($GLOBALS['table']) && $cfg['ShowTooltip'] && PMA_MYSQL_INT_VERSION >= 32303) {
|
||||||
$result = @PMA_mysql_query('SHOW TABLE STATUS FROM ' . PMA_backquote($GLOBALS['db']) . ' LIKE \'' . PMA_sqlAddslashes($GLOBALS['table'], TRUE) . '\'');
|
$result = @PMA_mysql_query('SHOW TABLE STATUS LIKE \'' . PMA_sqlAddslashes($GLOBALS['table'], TRUE) . '\' FROM ' . PMA_backquote($GLOBALS['db']));
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$tbl_status = PMA_mysql_fetch_array($result, MYSQL_ASSOC);
|
$tbl_status = PMA_mysql_fetch_array($result, MYSQL_ASSOC);
|
||||||
$tooltip = (empty($tbl_status['Comment']))
|
$tooltip = (empty($tbl_status['Comment']))
|
||||||
|
Reference in New Issue
Block a user