| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
|\
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| | |
This reverts commit 17da8a34b81442524a8e01fead7b5968fa1cc39d.
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| | |
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| | |
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
|/
|
|
| |
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
| |
|
|
|
|
| |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
|
|
|
| |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Avoid duplicate if conditions
Use switch/case instead of ifs when possible
|
|
|
|
|
|
|
|
| |
This avoids problems later when using it to detect handling of query.
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13640
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
|
| |
This is probably better approach to address
https://github.com/phpmyadmin/phpmyadmin/issues/13487
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
| |
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/13487
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
|
|
| |
Fix #157
Add Tests for SET statement flag
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
|
|
|
| |
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
|
|
| |
Fix #131
Might help to fix phpmyadmin/phpmyadmin#12345
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
This function will only get SelectStatement, so be clear on that.
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
| |
It's the most complex case right now, so let's separate it.
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
| |
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
| |
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
| |
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
|
| |
We do not uppercase non reserved keywords, so this way we make the
comparison properly handle that.
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
| |
Fixes #126
Signed-off-by: Michal Čihař <michal@cihar.com>
|
| |
|
|
|
|
| |
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
|
|
|
| |
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
| |
Fix #22
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
|
|
|
|
|
|
|
|
| |
- Add link to official license text
- Use SPDX identifier for license
- Clarify that the code is GPL or later
- See issue #89
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
|
|
|
|
| |
- We're doing this for ages in phpmyadmin repo
- The comments get outdated over time
- See issue #89
Signed-off-by: Michal Čihař <michal@cihar.com>
|
|
|
|
| |
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
|
|
|
|
|
|
| |
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/11609
Signed-off-by: Michal Čihař <michal@cihar.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Component::__toString().
Fixed bugs that caused field names like '0', '0.0', etc. to be considered invalid.
Refactoring.
|
| |
|
| |
|
|
|
|
|
|
| |
buffered string that may be parsed using the parser.
DELIMITER is no longer reported as unexpected beginning of statement.
Fixed typos.
|
| |
|
|
|
|
| |
which it is used.
|
|
|
|
|
|
| |
getFirstStatement util doesn't ignore MySQL specific query anymore (between comments).
Misc coding style fixes.
Fixed tests.
|
|
|
|
| |
Misc coding style fixes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
Better support for current statements.
Improved query utilities.
Fixed a bug in LIMIT's parser.
Fixed a documentation issue.
|
|
|
|
| |
Refactoring and improved documentation.
|
| |
|
|
|
|
|
| |
Fixed an issue in contexts.
Updated tests.
|
|
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.
|