Opened 8 years ago

Closed 8 years ago

#4651 closed (fixed)

[0.91-bugfixes][patch] UnicodeCursorWrapper prevents psycopg1 backend from taking dict sql params

Reported by: Tom Tobin <korpios@…> Owned by: ubernostrum
Component: Database layer (models, ORM) Version: 0.91
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Under the psycopg1 backend, UnicodeCursorWrapper as written prevents dict SQL parameters from working.

The attached patch corrects this issue.

Attachments (1)

0.91-bugfixes-unicodecursorwrapper-dict-params.diff (1.4 KB) - added by Tom Tobin <korpios@…> 8 years ago.
Allow psycopg1 backend on 0.91-bugfixes to accept dict sql params

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Tom Tobin <korpios@…>

Allow psycopg1 backend on 0.91-bugfixes to accept dict sql params

comment:1 Changed 8 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from adrian to ubernostrum
  • Patch needs improvement unset

comment:2 Changed 8 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from new to closed

(In [5508]) 0.91-bugfixes: Fixed #4651; UnicodeCursorWrapper should work with dictionaries of parameters now

Note: See TracTickets for help on using tickets.
Back to Top