[teiid-issues] [JBoss JIRA] (TEIID-2985) odbc script reader does not handle extra statement delimiters

Johnathon Lee (JIRA) issues at jboss.org
Wed Aug 27 12:32:00 EDT 2014


     [ https://issues.jboss.org/browse/TEIID-2985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnathon Lee updated TEIID-2985:
---------------------------------
    Fix Version/s: 7.7.11


> odbc script reader does not handle extra statement delimiters
> -------------------------------------------------------------
>
>                 Key: TEIID-2985
>                 URL: https://issues.jboss.org/browse/TEIID-2985
>             Project: Teiid
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ODBC
>    Affects Versions: 7.7
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.8, 8.7.1, 7.7.11
>
>
> If sent the block of statements:
> BEGIN;declare "SQL_CUR0x1e4ba50" cursor with hold for select * from pg_proc;;fetch 1 in "SQL_CUR0x1e4ba50"
> We'll stop processing at the extra ; after the declare.  
> In older branches such as 7.7 we'll attempt to process an empty sql statement, which will throw an exception.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list