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

odbc script reader does not handle extra statement delimiters

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: