Wrong parameters order in trace output
--------------------------------------

                 Key: CORE-4094
                 URL: http://tracker.firebirdsql.org/browse/CORE-4094
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 2.5.2 Update 1
            Reporter: prenosil


When you call this statement with parameter values 1,2,3,4

SELECT  (SELECT 123 FROM Rdb$Database WHERE RDB$RELATION_ID=?)
  FROM Rdb$Database
  CROSS JOIN
  (SELECT 123 as PDK FROM Rdb$Database WHERE RDB$RELATION_ID=? and 
RDB$RELATION_ID=? and RDB$RELATION_ID=?)

then trace log will show this

param0 = smallint, "1"
param1 = smallint, "4"
param2 = smallint, "3"
param3 = smallint, "2"

i.e. some parameters are reported with backward order.

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