Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.12
-
None
-
3.12.7
Description
Python 3.12.7
mariadb._version_ = 1.1.12
mariadb.mariadbapi_version = 3.4.4
Problem:
When inserting text of a certain size you get a mariadb.InterfaceError
Error:
exception: no description
File "", line 5, in <module>
cursor.execute("INSERT INTO testing_weird_bug (a) VALUES ",('a' * 8126,))
mariadb.InterfaceError:
Code to reproduce:
import mariadb |
connection = mariadb.connect() #fill in connection info here |
cursor = connection.cursor() |
cursor.execute("CREATE TABLE testing_weird_bug (a TEXT)") |
cursor.execute("INSERT INTO testing_weird_bug (a) VALUES (?)",('a' * 8126,)) |
Attachments
Issue Links
- duplicates
-
CONC-771 InterfaceError raised when statement is 8192~ characters
-
- Closed
-