SQL Queries allow for extraneous text.
--------------------------------------
Key: CORE-4549
URL: http://tracker.firebirdsql.org/browse/CORE-4549
Project: Firebird Core
Issue Type: Bug
Affects Versions: 2.5.2 Update 1
Environment: Windows 7, Firebird Classic 32-bit install
Reporter: Joel Lubrano
Priority: Trivial
Suppose I have a table named my_data. I write a query:
SELECT * FROM my_data ExtraneousText;
When I execute the query using isql, a JDBC 2.2.5 (Java 1.7.60) connector, or
PHP 5.3.28 with the firebird PDO enabled, the results for:
SELECT * FROM my_data
are returned. If I try to execute:
SELECT * FROM my_data Extraneous Text;
The query is reported to have invalid SQL at the work 'Text'. The first query
should be invalid as well, correct?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel