|
While a normal COM_STMT_EXECUTE with Insert and Select works fine, bulk insert fails:
>>> cursor.execute("insert into t1 select NULL, ?", (54,))
|
>>> cursor.rowcount
|
1
|
>>> cursor.executemany("insert into t1 select NULL, ?", [(55,),(56,)])
|
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module>
|
File "/usr/local/lib/python3.9/site-packages/mariadb-1.1.0b1-py3.9-linux-x86_64.egg/mariadb/cursors.py", line 322, in executemany
|
self._execute_bulk()
|
mariadb.OperationalError: This command is not supported in the prepared statement protocol yet
|
|