Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-67

cursor.rowcount returns 0 after a SELECT query that produces 1 row

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 0.9.59
    • 1.0.0
    • Generic
    • None
    • Windows 10 64-bit, Python 3.8.3, MariaDB 10.4 (x64), MariaDB Connector/C 3.1.7

    Description

      After cursor.execute() for a few SELECT queries I am always getting cursor.rowcount==0. The documentation here https://github.com/mariadb-corporation/mariadb-connector-python/wiki/cursor.md says "... the number of rows that the last execute*() produced (for DQL statements like SELECT) ..."

      Attachments

        Activity

          People

            georg Georg Richter
            rserge Serge Rogatch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.