[CONPY-11] execute_direct double close Created: 2018-07-24  Updated: 2019-12-19  Resolved: 2019-12-19

Status: Closed
Project: MariaDB Connector/Python
Component/s: DBAPI 2.0
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

if server is > 10.2.6, driver will use execute direct that close the connection after use.
when closing the cursor, a mysql_stmt_close still seems to be called ? mustn't driver check server version ?



 Comments   
Comment by Georg Richter [ 2018-07-29 ]

Hmm.. I don't understand this report..

  • Where does mariadb_stmt_execute_direct close a connection? (
  • mysql_stmt_close is called only if you close the cursor (which happens by cursor.close() or del cursor).
Generated at Thu Feb 08 03:29:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.