diff options
author | Michal Čihař <michal@cihar.com> | 2017-01-23 15:56:35 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-01-23 15:56:35 +0300 |
commit | e4bf53690679332c23d0ff2b4865ad844d60d996 (patch) | |
tree | cf97ecc183f048c82500c71bfd2ffd856c366182 /db_sql_format.php | |
parent | c654a50d87a725f9dabbb97326a2b7855b8254ec (diff) |
Update to SQL Parser 4.0.1
It now follows PSR-4 and uses PhpMyAdmin namespace prefix.
See https://github.com/phpmyadmin/sql-parser/issues/126
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_sql_format.php')
-rw-r--r-- | db_sql_format.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_sql_format.php b/db_sql_format.php index c89ace5f81..0ec6f9e1dc 100644 --- a/db_sql_format.php +++ b/db_sql_format.php @@ -14,7 +14,7 @@ require_once 'libraries/common.inc.php'; $query = !empty($_POST['sql']) ? $_POST['sql'] : ''; -$query = SqlParser\Utils\Formatter::format($query); +$query = PhpMyAdmin\SqlParser\Utils\Formatter::format($query); $response = PMA\libraries\Response::getInstance(); $response->addJSON("sql", $query); |