And another one - at same revision  - maybe same thing?

IMO the UPDATE xxxx for a lazy post_update relations gets the dbapi 
values swapped, e.g. (sqlite)

rev2308:
 SA: INFO UPDATE "Person" SET friend_id=? WHERE "Person".db_id = ?
* SA: INFO [2, 7]

rev2309-2344:
* SA: INFO UPDATE "Person" SET friend_id=? WHERE "Person".db_id = ?
* SA: INFO [7, 2]

completely breaking whole network of references.

> something with lazy-relations, self-referential, but pointing to
> another instance, not to _itself_. Happens regardless of
> inheritance.
>
> 2308 is all-ok, 2344 is same as 2309.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: aa.py
Description: application/python

Reply via email to