[Sqlalchemy-tickets] [sqlalchemy] #2912: multiple table update with two columns having the same nam
Brought to you by:
zzzeek
|
From: sqlalchemy <mi...@zz...> - 2014-01-17 21:56:26
|
#2912: multiple table update with two columns having the same name
--------------------------------+-----------------------------------------
Reporter: shnavid | Owner: zzzeek
Type: defect | Status: new
Priority: medium | Milestone:
Component: orm | Severity: no triage selected yet
Keywords: multi table update | Progress State: awaiting triage
--------------------------------+-----------------------------------------
There is a bug in the way we handle multiple table updates. I am attaching
a unit test that reproduces the issue.
Apparently if trying to update two columns with the same name, only one
column is actually updated while the other one is silently ignored (does
not even show up in the UPDATE query).
As shown in the test unit, I'd expect the Parent row to have its "name"
column updated to "newparentname" but that's not the case.
--
Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2912>
sqlalchemy <http://www.sqlalchemy.org/>
The Database Toolkit for Python
|