summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix problem caused by bug in PHP 5.3.Dan Ungureanu2015-07-281-1/+3
|
* Avoid altering the internal encoding.Dan Ungureanu2015-07-283-12/+5
|
* Lexer parses bit values.Dan Ungureanu2015-07-282-14/+46
|
* Translated exceptions.Dan Ungureanu2015-07-251-50/+70
| | | | Refactored tests.
* Fixed some Scrutinizer issues.Dan Ungureanu2015-07-252-2/+2
|
* Improved support for UNION.Dan Ungureanu2015-07-255-7/+71
|
* Added support for SELECT * FROM dual;Dan Ungureanu2015-07-252-2/+8
|
* Added builder for ORDER keyword.Dan Ungureanu2015-07-251-1/+31
|
* Using the usual parsing method for transactions.Dan Ungureanu2015-07-253-8/+10
|
* Fixes #9.Dan Ungureanu2015-07-233-3/+36
| | | | | | Improved error detection for FieldDefinition and TransactionStatement. When two statements of the same type weren't properly terminated only one was parsed. Fixed a issue where two consecutive SELECT statements where considered a UNION.
* Added the missing files.Dan Ungureanu2015-07-231-0/+123
|
* Implemented support for transactions.Dan Ungureanu2015-07-238-51/+118
|
* Refactoring.Dan Ungureanu2015-07-2214-1002/+1071
|
* Fixed test for PHP5.5-.Dan Ungureanu2015-07-212-4/+4
|
* Refactoring.Dan Ungureanu2015-07-212-14/+16
| | | | Improved localization tests.
* Improved localization.Dan Ungureanu2015-07-216-12/+55
|
* Minor style fix.Dan Ungureanu2015-07-192-5/+4
|
* Avoid processing the alias twice and generate an error.Dan Ungureanu2015-07-196-42/+67
| | | | | Errors are triggered when an unexpected token is found between clauses. Refactoring.
* Fixed test for PHP5.5-.Dan Ungureanu2015-07-181-0/+7
|
* Refactoring.Dan Ungureanu2015-07-161-10/+7
|
* Fixed support for multi-byte strings.Dan Ungureanu2015-07-164-43/+40
|
* Better error detection. Fixed some of the old messages.Dan Ungureanu2015-07-1512-23/+48
| | | | Minor coding style fixes.
* Fixed some Scrutinizer issues.Dan Ungureanu2015-07-154-8/+3
|
* Improved error messages.Dan Ungureanu2015-07-159-107/+141
| | | | | Achieved 100% code coverage. Some refactoring.
* Added switch to skip sorting options.Dan Ungureanu2015-07-143-27/+54
| | | | Renamed the keys used for options to something more relevant.
* Stored is the MySQL counterpart of PERSISTENT. See ↵Madhura Jayaratne2015-07-141-1/+2
| | | | | | http://mysqlserverteam.com/generated-columns-in-mysql-5-7-5/ Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
* Fixed typos and documentation.Dan Ungureanu2015-07-141-7/+9
|
* Improved Table utilities.Dan Ungureanu2015-07-144-2/+11
| | | | Fixed coding style.
* Added MariaDB's options for virtual fields. Updated contexts to contain ↵Dan Ungureanu2015-07-1410-55/+179
| | | | | | | | | relevant keywords. Added magic method '__toString()' for components and statements for building. Fixed a bug that caused the function name to be incorrectly detected in an expression. Fixed a bug that ignored the 'noAlias' option in expressions. Options may be expressions now.
* The closest context can be loaded for better compatibility.Dan Ungureanu2015-07-111-1/+47
|
* Added default delimiter that is used for all new Lexer instances.Dan Ungureanu2015-07-111-0/+11
|
* Fixed some Scrutinizer issues.Dan Ungureanu2015-07-112-26/+23
|
* Fixed routine utilities.Dan Ungureanu2015-07-111-2/+2
|
* Minor documentation improvements.Dan Ungureanu2015-07-102-2/+2
|
* Added remove() method for OptionsArray.Dan Ungureanu2015-07-106-31/+57
| | | | | Fixed undefined variables introduced by previous renaming. Some refactoring.
* Fixed coding style.Dan Ungureanu2015-07-107-15/+15
|
* Imporved JOIN parsing and building.Dan Ungureanu2015-07-1010-47/+137
| | | | Some keywords may appear in conditions.
* Mass renaming. Using 'component' instead of 'fragment'.Dan Ungureanu2015-07-1038-428/+429
|
* Improved the formatting formatting of CREATE's builder.Dan Ungureanu2015-07-105-8/+65
| | | | | Fixed a bug which considered symbols to be options, if the value matched. Improved documentation.
* Added utilities for parsing errors.Dan Ungureanu2015-07-091-0/+94
|
* Improved documentation.Dan Ungureanu2015-07-0825-59/+60
|
* More coding style fixes. And typos. Lots of them.Dan Ungureanu2015-07-0835-71/+78
|
* Coding style fixes.Dan Ungureanu2015-07-086-12/+18
|
* Fixed the 'CREATE' statement for long queries, where there may be more than ↵Dan Ungureanu2015-07-088-27/+29
| | | | | | | one 'END' keyword. Added 'CHARSET' as synonym for 'CHARACTER SET'. Updated contexts definitions.
* Improved fragments. New builders available. Refactored some fields.Dan Ungureanu2015-07-0723-74/+326
| | | | | | | | New query utility to extract the name of the tables used in a statement. TRUNCATE is being parsed now. CREATE parsing and building has been improved. Improved the definition of UPDATE and DELETE statements. Fixed coding style. Improved documentation and tests.
* Improved condition parsing and query utilities.Dan Ungureanu2015-07-052-31/+173
|
* The context depends on the SQL mode.Dan Ungureanu2015-07-0424-215/+750
| | | | | | | | | Implemented a few more builders. Improved some fragments and statement types. Fixed the noAlias option in FieldFragment. Reordered CREATE statements's options. Updated contexts definitions. Fixed typos. Improved tests.
* Moved build() to Statement class to be next to the parse() method.Dan Ungureanu2015-07-037-237/+222
| | | | | | Improved CREATE statements. Improved TokensList's getNext(). Better first and last positions for statements.
* Improved WHERE keyword parser and query's utilities.Dan Ungureanu2015-07-022-58/+76
|
* Miscellaneous fixes.Dan Ungureanu2015-06-309-67/+69
|
* Added statement builder (converts statement trees into executable query ↵Dan Ungureanu2015-06-3035-243/+563
| | | | | | | | | | | strings). Implemented support for UNIONs in parser. Code coverage is now over 99%. Fixed CHECKSUM statement (typos). Refactored code. Removed pieces of duplicated code. Improved documentation and fixed coding style. Improved PHPUnit's configuration (more test suites for fine-grained testing).
* Improved parsing system.Dan Ungureanu2015-06-287-38/+199
| | | | | | | Better support for current statements. Improved query utilities. Fixed a bug in LIMIT's parser. Fixed a documentation issue.
* New query utilities.Dan Ungureanu2015-06-286-28/+330
| | | | Refactoring and improved documentation.
* Improved documentation.Dan Ungureanu2015-06-2660-67/+423
|
* Refactoring.Dan Ungureanu2015-06-2622-271/+244
|
* Improved query's utilities.Dan Ungureanu2015-06-266-14/+79
| | | | | Fixed an issue in contexts. Updated tests.
* Added query utilities.Dan Ungureanu2015-06-2530-519/+1896
| | | | | | | | Included basic support for ANALYZE, BACKUP, CHECK, CHECKSUM, OPTIMIZE, REPAIR and RESTORE statements. Better parsing for fields, SELECT statement, INTO keyword. Improved contexts (included functions). Improved documentation. Refactoring and coding style fixes.
* Less strict type hinting in Utilities subpackage.Dan Ungureanu2015-06-243-27/+33
|
* Coding style fix.Dan Ungureanu2015-06-241-1/+2
|
* Follow strict standards.Dan Ungureanu2015-06-241-3/+5
|
* Simplified parsing process.Dan Ungureanu2015-06-247-65/+108
|
* Refactoring.Dan Ungureanu2015-06-2312-85/+82
| | | | Improved tests and documentation.
* Added table utilities.Dan Ungureanu2015-06-2310-63/+419
| | | | | Implemented better support for keys in FieldDefFragment. Improved contexts' documentation and definition.
* Fixed coding style.Dan Ungureanu2015-06-225-832/+832
|
* Return more information about routines.Dan Ungureanu2015-06-221-0/+2
|
* Added table utilities.Dan Ungureanu2015-06-2212-1099/+984
| | | | Refactoring and bug fixing.
* Refactoring.Dan Ungureanu2015-06-227-33/+41
|
* Fixed coding style.Dan Ungureanu2015-06-2243-253/+720
|
* Removed the tokens array.Dan Ungureanu2015-06-2119-54/+31
|
* Added multiple contexts.Dan Ungureanu2015-06-2020-88/+1143
| | | | Edited the behaviour of the keyword token.
* Improved delimiter parser.Dan Ungureanu2015-06-161-17/+72
|
* Improved documentation and coding style.Dan Ungureanu2015-06-1627-118/+127
|
* Added methods to extract only one parameter and the return type of a routine.Dan Ungureanu2015-06-154-5/+87
| | | | | | Improved the value extraction method for tokens. Fixed a bug in data type parser. Minor parser refactoring.
* Follow the PSR2 standard.Dan Ungureanu2015-06-134-7/+5
|
* Fixed the name of the GRUOP keyword parser.Dan Ungureanu2015-06-131-2/+5
|
* Clean namespace.Dan Ungureanu2015-06-131-8/+0
|
* Added method that extracts aliases map.Dan Ungureanu2015-06-129-34/+251
| | | | | | | Improved field parser. Support for joins. Added tests. Minor documentation fix.
* Implemented Routine utilities.Dan Ungureanu2015-06-119-55/+146
| | | | | | Refactored string and symbol parsers. Lexer can now parse user references. Changed tests' format. Better data type support.
* Initial commit.Dan Ungureanu2015-06-0835-0/+4432