Fixed bug #3323060 - SQL parser breaks AJAX requests if query has unclosed quotes

This commit is contained in:
Rouslan Placella
2011-06-21 20:33:32 +01:00
parent 341dc1296f
commit c2dd99965d
2 changed files with 2 additions and 1 deletions

View File

@@ -360,7 +360,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
$sql_array['raw'] = $sql;
$pos = $pos_quote_separator;
}
if (class_exists('PMA_Message')) {
if (class_exists('PMA_Message') && $GLOBALS['is_ajax_request'] != true) {
PMA_Message::notice(__('Automatically appended backtick to the end of query!'))->display();
}
} else {