remove check_columns here so warning not emitted with update from

This commit is contained in:
Mike Bayer 2012-02-26 18:22:27 -05:00
parent aa70505df5
commit ef6f95d9a0
1 changed files with 1 additions and 1 deletions

View File

@ -1303,7 +1303,7 @@ class SQLCompiler(engine.Compiled):
if parameters and stmt.parameters:
check = set(parameters).intersection(
sql._column_as_key(k) for k in stmt.parameters
)
).difference(check_columns)
if check:
util.warn(
"Unconsumed column names: %s" %