- changed status to resolved
need to use correct type for version_id_col
Issue #2539
resolved
diff -r 90571b3a3a4eca329ec14e9bd142ad2b96526d99 lib/sqlalchemy/orm/persistence.py
--- a/lib/sqlalchemy/orm/persistence.py Tue Jul 24 12:47:11 2012 -0400
+++ b/lib/sqlalchemy/orm/persistence.py Wed Jul 25 17:24:12 2012 -0400
@@ -464,7 +464,7 @@
if needs_version_id:
clause.clauses.append(mapper.version_id_col ==\
sql.bindparam(mapper.version_id_col._label,
- type_=col.type))
+ type_=mapper.version_id_col.type))
return table.update(clause)
Comments (2)
-
reporter -
reporter - removed milestone
Removing milestone: 0.7.9 (automated comment)
- Log in to comment
0.8: diff:@6a3e993490ebedce39983a90ced3a87817e6d4ef:b76995600a633ed769530a00b6489560456e7b0c
0.7: diff:@ddb4aa2e0a747960368b7bc6e5d4dbe3eebe0139:5049bf691225a11a142023873e75473cb0b68beb