Incorrect SQL executes without error
------------------------------------

                 Key: CORE-4092
                 URL: http://tracker.firebirdsql.org/browse/CORE-4092
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.1
         Environment: ODS Version 11.2
SQL Dialect 3
Server Version WI-V2.5.1.26351 Firebird 2.5

            Reporter: Ain Valtin


I just noticed that query like following executes OK

SELECT DISTINCT ... 
FROM TAB_T m 
LEFT JOIN TAB_G R1 ON(R1.Tooleping = m.Tooleping)AND(R1.Kuupaev >= 
41334)AND(R1.Kuupaev <= 41364AND(R1.Parent IS NULL)) 
WHERE ...

Note the missing closing parenthesis before final AND and the extra one in the 
end.

-- 
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

        

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to