Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2985

odbc script reader does not handle extra statement delimiters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.8, 8.7.1, 7.7.11
    • 7.7
    • ODBC
    • None

      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.

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: