Commit Graph

9 Commits

Author SHA1 Message Date
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
85dd699364 Updated sql-parser to phpmyadmin/sql-parser@66b528dc0f (v3.3.1).
Fixes #11956. unrecognized keyword interval
Fixes issues regarding field names and aliases.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2016-02-12 23:45:41 +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
Madhura Jayaratne
aed8527845 Make the SQL exports compatible for side by side comparison with old exports
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-20 23:45:46 +05:30
Madhura Jayaratne
5568970c85 Fix #11408 Export breaks when field name is 0
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-17 21:51:25 +05:30
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
54e80e953d Updated sql-parser to udan11/sql-parser@84bc88b6f6.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-08-08 21:35:06 +03:00