Opened 9 years ago

Closed 9 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: James Bennett
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@…> 9 years ago.
Allow psycopg1 backend on 0.91-bugfixes to accept dict sql params

Download all attachments as: .zip

Change History (3)

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

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

comment:1 Changed 9 years ago by anonymous

Needs documentation: unset
Needs tests: unset
Owner: changed from Adrian Holovaty to James Bennett
Patch needs improvement: unset

comment:2 Changed 9 years ago by James Bennett

Resolution: fixed
Status: newclosed

(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