[CONPY-26] warning_count not set for COM_QUERY Created: 2019-11-07  Updated: 2019-11-08  Resolved: 2019-11-08

Status: Closed
Project: MariaDB Connector/Python
Component/s: DBAPI 2.0
Affects Version/s: 0.9.1
Fix Version/s: 0.9.1

Type: Bug Priority: Minor
Reporter: Diego Dupin Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

mysql_stmt_warning_count() for a COM_QUERY statement always return zero, since warning count value is never set for a COM_QUERY.



 Comments   
Comment by Georg Richter [ 2019-11-08 ]

commit 2b52f8903383057d4043f5a481f499a35cfff2e1 (HEAD -> master, origin/master, origin/HEAD)
Author: Georg Richter <georg@mariadb.com>
Date: Fri Nov 8 06:13:13 2019 +0100

Fix for CONPY-26: We need to check if previously executed statement was
executed in binary o text protocol. This is now handled by macro
CURSOR_WARNING_COUNT.

Generated at Thu Feb 08 03:29:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.