Skip to content

NormalCursorWrapper has invalid sigatures for callproc and execute #586

Closed
@kevingill1966

Description

@kevingill1966

File: /debug/sql/tracking.py

The callproc and execute methods have an incorrect signature. This is causing a substitution attempt in the standard code, which breaks if there are '%'s in the SQL function.

def callproc(self, procname, params=()):
      return self._record(self.cursor.callproc, procname, params)

def execute(self, sql, params=()):
      return self._record(self.cursor.execute, sql, params)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions