Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.0.4
-
None
Description
The internal parser ignores MariaDB's comment syntax, special meanings like /*! not a comment */ are ignored and end up in an error:
>>> import mariadb |
>>> conn= mariadb.connect()
|
>>> cursor=conn.cursor()
|
>>> cursor.execute("SELECT /*! ? */", (1,)) |
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module> |
mariadb.DatabaseError.DataError: Invalid number of parameters
|