-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
res = dbh.query("INSERT INTO testtable (testrecord1, testrecord2)" + " VALUES (?, ?)", "string %' ' ' ' '", 'zxcvqwer');
is expected to work, but the single quote causes an error. Still an error if you use dbh.quote("string ' % '") for the parameter, which you shouldn't have to do anyway.
Error returned from errstr() looked like 1: near "zxcvqwer": syntax error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels