[CONPY-81] crash when switching between text and binary protocol with same cursor Created: 2020-06-17  Updated: 2020-06-17  Resolved: 2020-06-17

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

Type: Bug Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

Python crashes when eecuting text and binary protocol with the same cursor:

cursor.execute("SELECT a FROM t1")
cursor.fetchone()
cursor.execute("SELECT a FROM t1 WHERE 1=?",(1,))


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