Typo regarding server_onupdate in Column.__init__
Issue #2147
resolved
(I'm not sure this actually affects anything, but) there appears to be a trivial typo (copy-and-pasto, really) at source:lib/sqlalchemy/schema.py#L839. Suggested patch:
if self.server_onupdate is not None:
if isinstance(self.server_onupdate, FetchedValue):
- args.append(self.server_default)
+ args.append(self.server_onupdate)
else:
args.append(DefaultClause(self.server_onupdate,
for_update=True))
Comments (3)
-
repo owner -
repo owner - changed status to resolved
it did have a small effect that was of mostly no consequence, got coverage to hit that whole section at least.
3452a2ba03bcf75eeec60141f040d661e15eaa2f 13a370d6f338eb9a3f07ae025d76c9f9aaee363f
-
repo owner - removed milestone
Removing milestone: 0.6.8 (automated comment)
- Log in to comment
bigger issue here is no test coverage apparently....