Commit Graph

11 Commits

Author SHA1 Message Date
Michal Čihař
e4bf536906 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>
2017-01-23 13:56:35 +01:00
Michal Čihař
fee3923f48 Update SQL parser to 3.4.16
* Coding style fixes.
* Properly handle operators AND, NOT, OR, XOR, DIV, MOD

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-06 12:43:14 +01:00
Michal Čihař
aa19ffde32 Update SQL parser to 3.4.9
- issue #12316 Correct export of complex SELECT statements
- issue #12080 Fixed parsing of subselect queries
- issue #11740 Fixed handling DELETE ... USING queries
- issue #12100 Fixed handling of CASE operator

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-03 16:06:10 +02:00
Dan Ungureanu
2b1a68cc4e Updates sql-parser to phpmyadmin/sql-parser@5c489d91f5 (v3.4.0).
Fixes #11971. CREATE UNIQUE INDEX index type is not recognized by parser.
Fixes #11982. Row count wrong when grouping joined tables.
Fixes #12012. Column definition with default value and comment in CREATE TABLE expoerted faulty.
Fixes #12020. New statement but no delimiter and unexpected token with REPLACE.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2016-02-24 20:41:54 +02:00
Dan Ungureanu
7e12feba54 Updated sql-parser library to phpmyadmin/sql-parser@38b10f585a (v3.1.0).
The update includes multiple fixes:

- Fixes #11885. Call to undefined function SqlParser\ctype_alnum()
- Fixes #11879. 4.5.3.1 - NOW() function not recognized by parser
- Fixes #11867. Gracefully handle the DESC statement
- Fixes #11843. Fractional timestamp causes corrupted SQL export
- Fixes #11836. Static analysis error for valid WHERE condition with IF keyword
- Fixes #11800. Syntax Verifier error using REGEXP in SQL statement
- Fixes #11799. Backslashes in comments are being interpreted as escape characters

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2016-02-10 18:35:32 +02:00
Dan Ungureanu
ce6c465d15 Fixes #11509, #11512, #11518.
Updated sql-parser library to udan11/sql-parser@2f5d2daabb (v2.1.1).

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-10-01 16:22:37 +03:00
Dan Ungureanu
4988084fff Fixed minor formatting issues.
Updated sql-parser library to udan11/sql-parser@1b2988f296.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-21 15:55:26 +03:00
Dan Ungureanu
f2e7c6e133 Fixes #11397. Added support for partitions.
Fixes #11398. Added support for 'SERIAL' data type.
Updated sql-parser to udan11/sql-parser@3d3b03b25b.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-16 03:00:52 +03:00
Dan Ungureanu
2b3febf652 Localization.
Updated sql-parser library to udan11/sql-parser@e1b91ed.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-22 19:13:38 +03:00
Dan Ungureanu
068c11bb80 Updated sql-parser library to udan11/sql-parser@56ce2d7.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-15 16:52:08 +03:00
Dan Ungureanu
2dfc29df4a Updated sql-parser library to udan11/sql-parser@5278427.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:19 +03:00