Django

Code

Ticket #4651 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: Tom Tobin <korpios@korpios.com> Assigned to: ubernostrum
Milestone: Component: Database wrapper
Version: 0.91 Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

The attached patch corrects this issue.

Attachments

0.91-bugfixes-unicodecursorwrapper-dict-params.diff (1.4 kB) - added by Tom Tobin <korpios@korpios.com> on 06/21/07 10:48:45.
Allow psycopg1 backend on 0.91-bugfixes to accept dict sql params

Change History

06/21/07 10:48:45 changed by Tom Tobin <korpios@korpios.com>

  • attachment 0.91-bugfixes-unicodecursorwrapper-dict-params.diff added.

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

06/21/07 10:49:09 changed by anonymous

  • owner changed from adrian to ubernostrum.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

06/21/07 11:46:23 changed by ubernostrum

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #4651 ([0.91-bugfixes][patch] UnicodeCursorWrapper prevents psycopg1 backend from taking dict sql params)




Change Properties
Action