Always use local static storage of executed queries
Issue #11850 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
84c12c2fdd
commit
ee8f9b0dba
@ -156,13 +156,16 @@ function PMA_executeQuery($sql, $full, &$sql_data)
|
||||
*
|
||||
* @param string $sql query to run
|
||||
* @param string $full query to display, this might be commented
|
||||
* @param array &$sql_data SQL parse data storage
|
||||
*
|
||||
* @return void
|
||||
* @access public
|
||||
*/
|
||||
function PMA_importRunQuery($sql = '', $full = '', &$sql_data = array())
|
||||
function PMA_importRunQuery($sql = '', $full = '')
|
||||
{
|
||||
/**
|
||||
* @var $sql_data SQL parse data storage
|
||||
*/
|
||||
static $sql_data = array();
|
||||
global $import_run_buffer, $go_sql, $complete_query, $display_query,
|
||||
$sql_query, $error, $reload, $result, $msg,
|
||||
$skip_queries, $executed_queries, $max_sql_len, $read_multiply,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user