support display of HANDLER statement results
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
||||
|
||||
2006-06-09 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_select.php: bug #1490569, search with LIKE on numeric fields
|
||||
* libraries/import.lib.php: support display of HANDLER statement results
|
||||
|
||||
2006-06-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/header.inc.php: bug #1501891, undefined PMA_isSuperuser() when
|
||||
|
@@ -60,7 +60,7 @@ function PMA_detectCompression($filepath)
|
||||
|
||||
/**
|
||||
* Runs query inside import buffer. This is needed to allow displaying
|
||||
* of last SELECT or SHOW results and simmilar nice stuff.
|
||||
* of last SELECT, SHOW or HANDLER results and similar nice stuff.
|
||||
*
|
||||
* @param string query to run
|
||||
* @param string query to display, this might be commented
|
||||
@@ -89,7 +89,7 @@ function PMA_importRunQuery($sql = '', $full = '')
|
||||
} else {
|
||||
$executed_queries++;
|
||||
if ($run_query && $finished && empty($sql) && !$error && (
|
||||
(!empty($import_run_buffer['sql']) && preg_match('/^[\s]*(SELECT|SHOW)/i', $import_run_buffer['sql'])) ||
|
||||
(!empty($import_run_buffer['sql']) && preg_match('/^[\s]*(SELECT|SHOW|HANDLER)/i', $import_run_buffer['sql'])) ||
|
||||
($executed_queries == 1)
|
||||
)) {
|
||||
$go_sql = TRUE;
|
||||
|
Reference in New Issue
Block a user