Uploaded image for project: 'MariaDB Connector/ODBC'
  1. MariaDB Connector/ODBC
  2. ODBC-184

For resultset returning statements in a batch SQLRowCount returns 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.6, 2.0.18
    • Fix Version/s: 3.1
    • Component/s: General
    • Labels:
      None

      Description

      Standard only defines behavior of SQLRowCount for statements generating affected rows number, i.e. for upserts etc. For other queries it says it is driver defined.
      If resultset is cached it is possible to return row numbers in it. And for single statement queries connector does that. Thus we have at least inconsistency in connector's behavior.
      It's not quite clear if it is ok to fix that in terms of maintenance release, or it can break applications using current versions. There are pros and cons

        Attachments

          Activity

            People

            Assignee:
            Lawrin Lawrin Novitsky
            Reporter:
            Lawrin Lawrin Novitsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration