Opened 17 years ago

Closed 17 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: no UI/UX: no

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

Download all attachments as: .zip

Change History (3)

by Tom Tobin <korpios@…>, 17 years ago

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

comment:1 by anonymous, 17 years ago

Owner: changed from Adrian Holovaty to James Bennett

comment:2 by James Bennett, 17 years ago

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