db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1433) Client driver does not handle string literals containing "where current of" correctly
Date Wed, 21 Jun 2006 10:07:30 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1433?page=all ]

Knut Anders Hatlen updated DERBY-1433:
--------------------------------------

    Attachment: cursor.java

Attached a repro for the bug (cursor.java).

When the program is run, it is supposed to print
  Writing where current of in SQL is bad!
but instead it prints
  Writing where current of SQL_CURLH000C1 SQL is bad!

> Client driver does not handle string literals containing "where current of" correctly
> -------------------------------------------------------------------------------------
>
>          Key: DERBY-1433
>          URL: http://issues.apache.org/jira/browse/DERBY-1433
>      Project: Derby
>         Type: Bug

>   Components: Network Client, SQL
>     Versions: 10.2.0.0
>     Reporter: Knut Anders Hatlen
>      Fix For: 10.2.0.0
>  Attachments: cursor.java
>
> If a string literal contains 'where current of something', the client driver tries to
substitute 'something' with the corresponding cursor name on the server. This can lead to
an exception being raised (no such cursor) or the string literal being modified. See attached
repro.
> The bug is also present in JCC.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message