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