WHERE statement fails because placeholder %s is replaced with scientific notation for floating point numbers #705
Unanswered
phoecouscousfa
asked this question in
Q&A
Replies: 1 comment 6 replies
-
What is schema? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have the problem that my where statement fails when working with placeholder syntax and floating point values:
Is transformed to this sql by mysqlclient:
0.0001e0
does not match the rows with0.0001
in the database. If I don't work with placeholders and just place0.0001
directly in the sql string like this:I get the expected rows from the cursor.
I work with python 3.8 and mysqlclient 2.2.4.
Beta Was this translation helpful? Give feedback.
All reactions