| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| | |
Ref: fd4c4f34715070d7f7238ab3838935863a92f556
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |\
| | |
| | |
| | |
| | | |
Fixes: phpmyadmin/phpmyadmin#13951
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
|
| |/
| |
| |
| |
| |
| | |
When partition names contain "_", the parser wasn't reading the full name, but stopped before the first "_".
Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
|
|\ \
| |/
| |
| |
| |
| | |
This merge includes phpcs fixes
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| | |
Pull-request: #222
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: #221
Pull-request: #222
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Fixes: #221
Pull-request: #222
Co-authored-by: Sinri Edogawa <e.joshua.s.e@gmail.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Ref: #167
Pull-request: #264
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Even if this keyword is ignored by MySQL, it should be parsed.
Ref: #167
Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
|
| |\ \
| | |/
| |/|
| | | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |/
| |
| |
| | |
Ref: https://www.php.net/manual/en/function.implode.php
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/ko/
Signed-off-by: Yoonseo Kim <yyumz6961@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Ref: #261
Ref: https://phpunit.de/getting-started/phpunit-8.html
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| | |
Ref: #261
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| | |
Ref: #261
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| | |
Closes: #261
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/nb_NO/
Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/nb_NO/
Signed-off-by: Kjell Ove <laikabaika@hotmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/th/
Signed-off-by: Kongfa Warorot <gongpha@hotmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 4.5% (2 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/fa/
Signed-off-by: ReZa ZaRe <rz.zare@gmail.com>
|
|\ \
| | |
| | | |
Replaced new self with new static
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\ \ \
| |/ /
| | /
| |/
|/| |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |\
| | |
| | |
| | |
| | | |
[ci skip]
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |/ |
|
| |
| |
| |
| | |
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| | |
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b
Related-to: 930a860bc7f0684c45babd012070f88a9505d427, 5d5089a259d0195c4a1e4aa3588c31c839954067
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>
|
| |
| |
| |
| |
| | |
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| |
| |
| | |
This reverts commit 2941ff6b8b9c4d50362f3bc9bb79f086376c4acc.
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
| |
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|/
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Added null check to fix tests from pull request #224.
|
| | | |
|
|/ /
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
| |
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
| |
| |
| |
| |
| | |
Fix for errors when using multiple CALL statements and no arguments/parenthesis.
Fixes: #223
|
| |
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\ \
| | |
| | | |
Fix PHP warnings when building an incomplete CASE expression
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Issue can be reproduced with the following code snippet:
```php
new \PhpMyAdmin\SqlParser\Parser('SELECT a CASE');
// PHP Warning: count(): Parameter must be an array or an object that implements Countable in src/Components/CaseExpression.php on line 296
// PHP Warning: count(): Parameter must be an array or an object that implements Countable in src/Components/CaseExpression.php on line 297
```
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently translated at 90.9% (40 of 44 strings)
[CI skip]
Translation: phpMyAdmin/SQL parser
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/nb_NO/
Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
|
|\ \ \ \
| |/ / /
|/| | | |
Add usage hints for command line stdin
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|/ /
| |
| |
| |
| |
| | |
Currently translated at 25.0% (11 of 44 strings)
[CI skip]
|
| |
| |
| |
| | |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
| |
| |
| |
| |
| |
| | |
with #239
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
vendor/bin/
Fixes #240
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\ \
| | |
| | | |
Support reading from stdin
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
|
| |
| |
| |
| |
| |
| | |
Currently translated at 0.0% (0 of 44 strings)
[CI skip]
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
fix: incorrect lastClauseIdx in Utils::getQuery
|
| |/ / |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
|
|\ \
| | |
| | |
| | |
| | | |
Closes: #230
Fixes: #229
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
|/ / |
|
|\ \
| | |
| | | |
Fix redundant whitespaces - Issue #227
|
| | | |
|
| | |
| | |
| | |
| | | |
This commit fixes implementation of `build()` methods to produce more consistent SQL code without redundant spaces.
|
|/ /
| |
| |
| |
| |
| | |
Currently translated at 100.0% (44 of 44 strings)
[CI skip]
|
| |
| |
| |
| |
| |
| | |
Currently translated at 84.1% (37 of 44 strings)
[CI skip]
|
| |
| |
| |
| |
| |
| |
| | |
- Rename test providers
- Mark tests as incomplete
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
|\ \
| | |
| | | |
Bump minimum version to PHP 7.1
|
|/ /
| |
| |
| |
| |
| | |
Drop support for PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and HHVM
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Currently translated at 93.2% (41 of 44 strings)
[CI skip]
|
|/
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|\
| |
| | |
Fix incorrect error on DEFAULT keyword in ALTER operation
|
| |
| |
| |
| | |
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
|/
|
|
| |
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
|
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|
|
|
|
| |
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
|