[FB-Tracker] Created: (CORE-5502) Error with position on where

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (CORE-5502) Error with position on where

JIRA tracker@firebirdsql.org
Error with position on where
----------------------------

                 Key: CORE-5502
                 URL: http://tracker.firebirdsql.org/browse/CORE-5502
             Project: Firebird Core
          Issue Type: Bug
          Components: ISQL
    Affects Versions: 2.5.6
            Reporter: Cassiano Baltazar da Silva


When i run the follow sql i get the error


select
  *
from
  COUNTRY CO
where
  CO.COUNTRY = 'Germany' and
  (
    (position('-', 'test') > 0) and
    (position('-', CO.CURRENCY) > 0) and
    (nullif(trim(substring(CO.CURRENCY from position('-', CO.CURRENCY) for 10)), '') is not null) and
    (nullif(trim(substring('test' from position('-', 'test') for 10)), '') is not null) and
    (trim(substring(CO.CURRENCY from position('-', CO.CURRENCY) for 10)) = trim(substring('test' from position('-', 'test') for 10)))
  )


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

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel