Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.0b1
-
None
-
3.9
Description
Select with binary parameter fails.
Example:
import mariadb |
import os |
|
connection= mariadb.connect(db="test") |
|
data= os.urandom(32) |
cursor= connection.cursor() |
cursor.execute("create temporary table t1 (a blob)") |
|
cursor.execute("insert into t1 values (?)", (data,)) |
cursor.execute("select * from t1 where a=?", (data,)) |
rows= cursor.fetchall() |
print(rows) |
Output:
[]
|