diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-07-10 03:37:11 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-07-10 23:18:19 +0300 |
commit | 2dfc29df4ae73a022398541c8fa30969127d3a97 (patch) | |
tree | cee85a07b07a85d8597e41317babcc40f3a0f5e8 /tbl_export.php | |
parent | ecc60f3664d01f19809be25f8b319e66a204603d (diff) |
Updated sql-parser library to udan11/sql-parser@5278427.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'tbl_export.php')
-rw-r--r-- | tbl_export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_export.php b/tbl_export.php index c88864e6b4..cdae45211c 100644 --- a/tbl_export.php +++ b/tbl_export.php @@ -138,8 +138,8 @@ if (! empty($sql_query)) { // Rebuilding the SELECT and FROM clauses. $replaces = array( - array('SELECT', 'SELECT ' . SqlParser\Fragments\FieldListFragment::build($parser->statements[0]->expr)), - array('FROM', 'FROM ' . SqlParser\Fragments\FieldListFragment::build($parser->statements[0]->from)), + array('SELECT', 'SELECT ' . SqlParser\Components\ExpressionArray::build($parser->statements[0]->expr)), + array('FROM', 'FROM ' . SqlParser\Components\ExpressionArray::build($parser->statements[0]->from)), ); // Checking if the WHERE clause has to be replaced. |