Branch: refs/heads/master
Home: https://github.com/phpmyadmin/sql-parser
Commit: d046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4
https://github.com/phpmyadmin/sql-parser/commit/d046cb2b4bf0a0c072644efe391c0cdbd3cfd7f4
Author: Deven Bansod <[email protected]>
Date: 2018-12-20 (Thu, 12 December 2018) +05:30

Changed paths: 
A tests/Builder/RenameStatementTest.php
M src/Components/RenameOperation.php
M src/Statements/CreateStatement.php
M src/Statements/RenameStatement.php

Log Message:
-----------
Fix building of RenameStatement

* The nuance here is that we don't treat `RENAME TABLE` as the keyword of the 
clause, only `RENAME` is considered.
* That's why we can't use `Statement::$CLAUSES` directly here (even with value 
of `3` (see `Statement::$CLAUSES`))
* Providing an overriden definition of `build()` in RenameStatement

Signed-off-by: Deven Bansod <[email protected]>

Commit: 1b644028d693f7140868ba32e4847e5cd866fa4f
https://github.com/phpmyadmin/sql-parser/commit/1b644028d693f7140868ba32e4847e5cd866fa4f
Author: Deven Bansod <[email protected]>
Date: 2018-12-21 (Fri, 12 December 2018) +05:30

Changed paths: 
A tests/Builder/RenameStatementTest.php
M src/Components/RenameOperation.php
M src/Statements/CreateStatement.php
M src/Statements/RenameStatement.php

Log Message:
-----------
Merge pull request #210 from devenbansod/fix/204

Fix building of RenameStatement

_______________________________________________
Git mailing list
[email protected]
https://lists.phpmyadmin.net/mailman/listinfo/git

Reply via email to