Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Fixed raising ValueError for queries that contain the%%. #23

Merged
merged 2 commits into from
Oct 1, 2012

Conversation

4031651
Copy link
Contributor

@4031651 4031651 commented Sep 24, 2012

Fixed bug with queries like
SELECT * FROM test_table WHERE some_field LIKE CONCAT(CONCAT('%%', %s), '%%').
Such queries are generated by SqlAlchemy ORM.
Processing such queries raises an error:
"ValueError: Found character % expected %"

Signed-off-by: Sergey Tsapenko 4031651@gmail.com

Fixed bug with queries like
SELECT * FROM `test_table` WHERE `some_field` LIKE CONCAT(CONCAT('%%', %s), '%%').
Such queries are generated by SqlAlchemy ORM.
Processing such queries raises an error:
"ValueError: Found character % expected %"

Signed-off-by: Sergey Tsapenko <4031651@gmail.com>
jskorpan pushed a commit that referenced this pull request Oct 1, 2012
Fixed raising ValueError for queries that contain the%%.
@jskorpan jskorpan merged commit 09e4b36 into esnme:master Oct 1, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants