naveentiwari / php-sql-parser

Automatically exported from code.google.com/p/php-sql-parser
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Upper case for AliasBuilder #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use PHPSQLCreator with a query containing aliased tables

What is the expected output? What do you see instead?
I expect AS (upper case), since all SQL keywords are in upper case in 
PHPSQLCreator. Instead, I see 'as' (lower case)

Please provide any additional information below.
In file builders/AliasBuilder.php, line 62 :
$sql .= " AS"; instead of $sql .= " as";

Original issue reported on code.google.com by ludo.zeg...@gmail.com on 24 Jul 2014 at 3:00

GoogleCodeExporter commented 8 years ago
I have changed it, see r1368

Original comment by pho...@gmx.de on 10 Sep 2014 at 9:14