diff --git a/tbl_operations.php b/tbl_operations.php index 1c70bffa33..6cf91707a7 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -249,6 +249,9 @@ if (isset($result) && empty($message_to_show)) { $response = PMA\libraries\Response::getInstance(); $response->setRequestStatus(false); $response->addJSON('message', $_message); + $response->addJSON( + 'sql_query', PMA\libraries\Util::getMessage(null, $sql_query) + ); exit; } unset($warning_messages);