Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16608

ODBC: SQL_ATTR_CONNECTION_TIMEOUT does not affect statement execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.12
    • 2.13
    • odbc
    • None
    • Fixed ODBC connection timeouts
    • Release Notes Required

    Description

      According to documentation SQL_ATTR_CONNECTION_TIMEOUT is described as follows:

      An SQLUINTEGER value corresponding to the number of seconds to wait for any request on the connection
      to complete before returning to the application. The driver should return SQLSTATE HYT00 (Timeout expired)
      anytime that it is possible to time out in a situation not associated with query execution or login.
      
      If ValuePtr is equal to 0 (the default), there is no timeout.
      

      It means SQL_ATTR_CONNECTION_TIMEOUT should also work for long queries, but currently it does not.

      Attachments

        Issue Links

          Activity

            People

              isapego Igor Sapego
              isapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m