Skip to content
This repository has been archived by the owner on Jun 11, 2018. It is now read-only.

SQL instrumentation can break queries with no arguments in certain edgecases #94

Closed
roncohen opened this issue Feb 10, 2016 · 1 comment
Assignees

Comments

@roncohen
Copy link
Contributor

If a mysql query is made directly to cursor.execute(query) (as opposed to cursor.execute(query, args)) and the query contains % the driver will try to replace it using the format notation resulting in a TypeError: ('not enough arguments for format string').

@roncohen roncohen assigned hmdhk and jalvz and unassigned hmdhk Feb 12, 2016
jalvz pushed a commit that referenced this issue Feb 18, 2016
jalvz pushed a commit that referenced this issue Feb 19, 2016
jalvz pushed a commit that referenced this issue Feb 19, 2016
jalvz pushed a commit that referenced this issue Feb 19, 2016
jalvz pushed a commit that referenced this issue Feb 19, 2016
…ntains % for MySQL, fixes issue #94"

This reverts commit 785088e.
jalvz pushed a commit that referenced this issue Feb 19, 2016
@jalvz
Copy link

jalvz commented Feb 22, 2016

Fixed in 3.2.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants