Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix ALTER statement not constructed properly, phpmyadmin/sql-parser#33 | Durgesh | 2016-02-19 | 2 | -17/+50 | |
| | | | | | | | | Signed-off-by: Durgesh <007durgesh219@gmail.com> | |||||
* | | Merge pull request #31 from madhuracj/bug11977 | Dan Ungureanu | 2016-02-21 | 2 | -0/+13 | |
|\ \ | |/ |/| | | | DropStatement: Parse the table containing the index. Fixes phpmyadmin/phpmyadmin#11977. | |||||
| * | Fix https://github.com/phpmyadmin/phpmyadmin/issues/11977 | Madhura Jayaratne | 2016-02-18 | 2 | -0/+13 | |
| | | | | | | | | Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com> | |||||
* | | Update corresponding build method | Madhura Jayaratne | 2016-02-19 | 1 | -2/+4 | |
| | | | | | | | | Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com> | |||||
* | | Improve variable and flow documentation. Simplify condition | Madhura Jayaratne | 2016-02-19 | 1 | -3/+13 | |
| | | | | | | | | Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com> | |||||
* | | Fix Row count wrong when grouping joined tables, phpmyadmin/phpmyadmin#11982 | Durgesh | 2016-02-18 | 1 | -3/+11 | |
| | | | | | | | | Signed-off-by: Durgesh <007durgesh219@gmail.com> | |||||
* | | Do not fail on function which is reserved in a WHERE condition | Michal Čihař | 2016-02-17 | 1 | -1/+3 | |
| | | | | | | | | | | | | Fixes https://github.com/phpmyadmin/phpmyadmin/issues/11975 Signed-off-by: Michal Čihař <michal@cihar.com> | |||||
* | | Change return value from getAll in case of not parsed query | Michal Čihař | 2016-02-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | Fixes https://github.com/phpmyadmin/phpmyadmin/issues/11609 Signed-off-by: Michal Čihař <michal@cihar.com> | |||||
* | | Fix index type is not recognized by parser, Issue#11971 | Durgesh | 2016-02-17 | 1 | -0/+3 | |
| | | ||||||
* | | Condition: Allow keyword INTERVAL.v3.3.1 | Dan Ungureanu | 2016-02-12 | 1 | -0/+1 | |
| | | ||||||
* | | Expression: Refactored parsing options.v3.3.0 | Dan Ungureanu | 2016-02-12 | 12 | -58/+89 | |
| | | ||||||
* | | Context: Added custom mode that avoids escaping when possible.v3.2.0 | Dan Ungureanu | 2016-02-11 | 1 | -0/+14 | |
|/ | ||||||
* | Merge branch 'master' of github.com:udan11/sql-parser | Dan Ungureanu | 2016-02-10 | 1 | -0/+1 | |
|\ | ||||||
| * | Fixed 500 error when DESC syntax is used in query | Ross McFadyen | 2016-01-19 | 1 | -0/+1 | |
| | | ||||||
* | | Misc: Fixed coding style. | Dan Ungureanu | 2016-02-10 | 5 | -7/+7 | |
| | | ||||||
* | | Expression: Rewrote expression parsing. | Dan Ungureanu | 2016-02-04 | 1 | -111/+123 | |
| | | ||||||
* | | ArrayObj: Handle more complex expressions in arrays. | Dan Ungureanu | 2016-02-02 | 1 | -47/+82 | |
| | | ||||||
* | | Condition: Allow IF in conditions. | Dan Ungureanu | 2016-01-29 | 1 | -16/+23 | |
| | | ||||||
* | | Misc: Removed dependency to Ctype. | Dan Ungureanu | 2016-01-29 | 1 | -2/+5 | |
|/ | ||||||
* | Merge pull request #26 from madhuracj/bug11840 | Dan Ungureanu | 2016-01-13 | 1 | -0/+1 | |
|\ | | | | | Fixes phpmyadmin/phpmyadmin#11840. Index comments not working properly. | |||||
| * | Fixes https://github.com/phpmyadmin/phpmyadmin/issues/11840 | Madhura Jayaratne | 2016-01-11 | 1 | -0/+1 | |
| | | ||||||
* | | CreateStatement: The DEFAULT option may be an expression. | Dan Ungureanu | 2016-01-13 | 1 | -1/+1 | |
|/ | ||||||
* | Context: Updated contexts to contain 'BIT' data type. | Dan Ungureanu | 2016-01-10 | 5 | -15/+15 | |
| | | | | Tools: Documented tags in ContextGenerator. | |||||
* | Context: Add ; as operator. | Dan Ungureanu | 2016-01-10 | 1 | -1/+1 | |
| | ||||||
* | BufferedQuery: Backslashes in comments escaped characters in comments. | Dan Ungureanu | 2016-01-09 | 1 | -7/+13 | |
| | ||||||
* | Allow NULL in expressions.v3.0.8 | Dan Ungureanu | 2015-12-18 | 3 | -1/+2 | |
| | ||||||
* | Updated PHPUnit to 5.1 and fixed some of the tests. | Dan Ungureanu | 2015-12-18 | 1 | -11/+2 | |
| | ||||||
* | Added UNION ALL as a type of UNION. | Dan Ungureanu | 2015-12-17 | 9 | -11/+24 | |
| | ||||||
* | Expressions are permitted in SET operations. | Dan Ungureanu | 2015-12-17 | 1 | -10/+19 | |
| | ||||||
* | Added STRAIGHT_JOIN as a known type of join. | Dan Ungureanu | 2015-12-17 | 2 | -1/+6 | |
| | ||||||
* | Added missing definitions for MATCH and AGAINST. | Dan Ungureanu | 2015-12-17 | 6 | -101/+98 | |
| | ||||||
* | Added missing statement (FLUSH and DEALLOCATE). | Dan Ungureanu | 2015-12-17 | 1 | -3/+5 | |
| | ||||||
* | Expressions may begin with a function that is also a reserved keyword.v3.0.7 | Dan Ungureanu | 2015-11-17 | 1 | -0/+1 | |
| | ||||||
* | Fixed a bug where formatter split the function name and the parameters list.v3.0.6 | Dan Ungureanu | 2015-11-12 | 1 | -5/+6 | |
| | ||||||
* | Fixed coding style. | Dan Ungureanu | 2015-11-08 | 2 | -3/+4 | |
| | ||||||
* | Improved test coverage. | Dan Ungureanu | 2015-11-08 | 2 | -3/+4 | |
| | ||||||
* | Added INSERT statement builder. | Dan Ungureanu | 2015-11-08 | 1 | -1/+11 | |
| | ||||||
* | Fixed DELIMITER statements in BufferedQuery. | Dan Ungureanu | 2015-11-08 | 1 | -0/+5 | |
| | ||||||
* | Accept NOT operator in conditions. | Dan Ungureanu | 2015-11-07 | 1 | -0/+1 | |
| | ||||||
* | Added dummy parsers for CREATE USER and SET PASSWORD statements. | Dan Ungureanu | 2015-11-02 | 7 | -7/+21 | |
| | ||||||
* | Fix the order of clauses in SELECT statements involing UNIONs. | Dan Ungureanu | 2015-11-02 | 4 | -11/+61 | |
| | ||||||
* | Use JOIN expressions for flag detection. | Dan Ungureanu | 2015-11-02 | 1 | -1/+8 | |
| | ||||||
* | Add GRANT as known statement. | Dan Ungureanu | 2015-11-02 | 1 | -0/+1 | |
| | ||||||
* | Fix error message.v3.0.4 | Dan Ungureanu | 2015-10-21 | 1 | -1/+3 | |
| | ||||||
* | Avoid building a field multiple times if clause has synonyms.v3.0.3 | Dan Ungureanu | 2015-10-10 | 1 | -0/+23 | |
| | ||||||
* | Add EXISTS as an acceptable keyword in conditions.v3.0.2 | Dan Ungureanu | 2015-10-10 | 1 | -0/+1 | |
| | ||||||
* | Handle backslashes separately for BufferedQuery.v3.0.1 | Dan Ungureanu | 2015-10-06 | 1 | -2/+14 | |
| | ||||||
* | Minor code improvements. | Dan Ungureanu | 2015-10-03 | 2 | -2/+1 | |
| | ||||||
* | Support for references from different tables.v3.0.0 | Dan Ungureanu | 2015-10-03 | 2 | -5/+14 | |
| | ||||||
* | Add all JOIN clauses.v2.1.3 | Dan Ungureanu | 2015-10-02 | 1 | -14/+22 | |
| | ||||||
* | Properly parse options when the value of the option is '='.v2.1.2 | Dan Ungureanu | 2015-10-02 | 1 | -1/+1 | |
| | ||||||
* | Fix typo | Marc Delisle | 2015-10-01 | 1 | -1/+1 | |
| | | | Signed-off-by: Marc Delisle <marc@infomarc.info> | |||||
* | Only RANGE and LIST type partitions support VALUES.v2.1.1 | Dan Ungureanu | 2015-10-01 | 1 | -4/+15 | |
| | ||||||
* | Fixed coding style. | Dan Ungureanu | 2015-09-30 | 1 | -8/+5 | |
| | ||||||
* | Added utilities for handling tokens and tokens list.v2.1.0 | Dan Ungureanu | 2015-09-30 | 2 | -0/+194 | |
| | ||||||
* | Fix failing test. | Dan Ungureanu | 2015-09-30 | 1 | -1/+1 | |
| | ||||||
* | Added missing NOT IN operator.v2.0.3 | Dan Ungureanu | 2015-09-30 | 1 | -0/+1 | |
| | ||||||
* | Removed invalid option. | Dan Ungureanu | 2015-09-30 | 1 | -1/+0 | |
| | ||||||
* | Added support for OUTER as an optional keyword in joins.v2.0.2 | Dan Ungureanu | 2015-09-30 | 7 | -10/+20 | |
| | ||||||
* | Improved partition support.v2.0.1 | Dan Ungureanu | 2015-09-30 | 1 | -2/+3 | |
| | ||||||
* | Updated coding style to follow PSR-2 coding standards. | Dan Ungureanu | 2015-09-25 | 32 | -108/+89 | |
| | ||||||
* | Better parsing for CREATE TABLE statements.v2.0.0 | Dan Ungureanu | 2015-09-25 | 2 | -4/+44 | |
| | | | | Fixes #16. | |||||
* | Added JSON data type. | Dan Ungureanu | 2015-09-23 | 5 | -5/+5 | |
| | ||||||
* | Fixed spacing. | Dan Ungureanu | 2015-08-24 | 1 | -1/+1 | |
| | ||||||
* | Improved documentation. | Dan Ungureanu | 2015-08-24 | 1 | -1/+1 | |
| | ||||||
* | Refactoring. Removed duplicate code. | Dan Ungureanu | 2015-08-24 | 4 | -1267/+1235 | |
| | | | | Fixed documentation. | |||||
* | Fixed minor style issues in generated queries.v1.0.0 | Dan Ungureanu | 2015-08-20 | 23 | -30/+58 | |
| | | | | | | | | | Introduced options for builders. Data types are lower case in CREATE TABLE statements, but in any other case they continue to be upper case. Formatter uses 2 spaces instead of 4 for indentation as specified in the MySQL Coding Guidelines. https://dev.mysql.com/doc/internals/en/indentation-spacing.html. | |||||
* | Replaced explicit calls to Component::build() with implicit calls to ↵ | Dan Ungureanu | 2015-08-18 | 22 | -128/+98 | |
| | | | | | | | Component::__toString(). Fixed bugs that caused field names like '0', '0.0', etc. to be considered invalid. Refactoring. | |||||
* | Added missing table options to AlterOperation. Fixes #14. | Dan Ungureanu | 2015-08-16 | 1 | -41/+49 | |
| | ||||||
* | Added the tool that generates contexts. | Dan Ungureanu | 2015-08-16 | 5 | -0/+10 | |
| | ||||||
* | Fixed Scrutinizer issue. | Dan Ungureanu | 2015-08-16 | 2 | -4/+4 | |
| | ||||||
* | Added 'SERIAL' as a data type. | Dan Ungureanu | 2015-08-16 | 5 | -20/+34 | |
| | ||||||
* | Fixed a couple of minor bugs in partition parsing. | Dan Ungureanu | 2015-08-16 | 3 | -10/+28 | |
| | | | | | | | 'MAXVALUE' can be used for partitions. The correct class is used for parsing. Options may be specified for the class that is used for parsing. Wrote tests. | |||||
* | Fixed tests. | Dan Ungureanu | 2015-08-16 | 1 | -5/+7 | |
| | ||||||
* | Fixed documentation. | Dan Ungureanu | 2015-08-16 | 1 | -1/+1 | |
| | ||||||
* | Improved support for partitions in the builder and formatter. | Dan Ungureanu | 2015-08-16 | 4 | -152/+228 | |
| | ||||||
* | Added missing partition definition. | Dan Ungureanu | 2015-08-15 | 1 | -0/+181 | |
| | ||||||
* | Consistent PHPDoc style. | Dan Ungureanu | 2015-08-15 | 29 | -35/+159 | |
| | ||||||
* | Initial support for partitions. | Dan Ungureanu | 2015-08-15 | 7 | -18/+135 | |
| | ||||||
* | Finished builders for components. | Dan Ungureanu | 2015-08-14 | 4 | -8/+61 | |
| | ||||||
* | Lex system variables as symbols. Fixed #13. | Dan Ungureanu | 2015-08-12 | 2 | -2/+12 | |
| | ||||||
* | Fixed spacing in comment. | Dan Ungureanu | 2015-08-11 | 1 | -1/+1 | |
| | ||||||
* | Coding style fixes. | Dan Ungureanu | 2015-08-11 | 8 | -14/+14 | |
| | ||||||
* | The initial value of the query is no longer ignored in BufferedQuery's ↵ | Dan Ungureanu | 2015-08-11 | 1 | -1/+1 | |
| | | | | constructor. | |||||
* | Refactored some parts of BufferedQuery. Fixed minor bugs. | Dan Ungureanu | 2015-08-11 | 1 | -13/+17 | |
| | ||||||
* | Fixed a bug which caused the parser to set wrong starting position after a | Dan Ungureanu | 2015-08-11 | 1 | -1/+1 | |
| | | | | DELIMITER statement. | |||||
* | Typo in operator name. | Dan Ungureanu | 2015-08-11 | 2 | -3/+3 | |
| | | | | Fixed spacing in comment. | |||||
* | Introduced the buffered query parser. This is used to extract statements from a | Dan Ungureanu | 2015-08-09 | 5 | -4/+404 | |
| | | | | | | buffered string that may be parsed using the parser. DELIMITER is no longer reported as unexpected beginning of statement. Fixed typos. | |||||
* | Add support for MySQL commands inside comments. | Dan Ungureanu | 2015-08-08 | 2 | -4/+26 | |
| | ||||||
* | Fixed minor coding style issue. | Dan Ungureanu | 2015-08-08 | 1 | -1/+1 | |
| | ||||||
* | Refactored field to something more appropriate depending on the context in ↵ | Dan Ungureanu | 2015-08-08 | 9 | -47/+47 | |
| | | | | which it is used. | |||||
* | Fixed error message. | Dan Ungureanu | 2015-08-06 | 1 | -1/+1 | |
| | ||||||
* | Fixed a bug where brackets in alter operation weren't used. | Dan Ungureanu | 2015-08-05 | 1 | -1/+3 | |
| | ||||||
* | Fixed some of Scrutinizer's issues. | Dan Ungureanu | 2015-08-05 | 2 | -5/+1 | |
| | ||||||
* | Fixed a bug that didn't parse comments properly. | Dan Ungureanu | 2015-08-05 | 4 | -26/+33 | |
| | | | | | | getFirstStatement util doesn't ignore MySQL specific query anymore (between comments). Misc coding style fixes. Fixed tests. | |||||
* | Added utility to get first full statement from a buffer. | Dan Ungureanu | 2015-08-02 | 2 | -38/+117 | |
| | | | | Misc coding style fixes. | |||||
* | Added formatting utilities. | Dan Ungureanu | 2015-08-01 | 1 | -0/+512 | |
| | ||||||
* | Fixed coding style. | Dan Ungureanu | 2015-08-01 | 9 | -18/+39 | |
| | | | | Fixed a bug which caused an infinite loop when a invalid DELIMITER statement was provided. | |||||
* | Added MySQL utility statements. | Dan Ungureanu | 2015-07-30 | 5 | -28/+127 | |
| | | | | | | | | Added support for SET statement. Reserved keyword preceded by a dot are no longer considered reserved words. Improved error reporting for statements. A statement is no longer considered unrecognized if the parser doesn't have a full definition of it. Duplicated clauses are reported. | |||||
* | Removed extra space in data types. | Dan Ungureanu | 2015-07-28 | 2 | -1/+6 | |
| | | | | Added comment about encoding. |