Revision 2728
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1271 | 1271 |
|
1272 | 1272 |
log_debug('Casting '+strings.as_tt(out_col)+' input to ' |
1273 | 1273 |
+strings.as_tt(type_)) |
1274 |
errors_table = sql_gen.suffixed_table(in_tables0.srcs[0], '.errors')
|
|
1275 |
def wrap_func(col): return cast(db, type_, col, errors_table)
|
|
1274 |
def wrap_func(col):
|
|
1275 |
return cast(db, type_, col, errors_table(db, in_tables0))
|
|
1276 | 1276 |
mapping[out_col] = sql_gen.wrap(wrap_func, mapping[out_col]) |
1277 | 1277 |
except DatabaseErrors, e: |
1278 | 1278 |
log_exc(e) |
Also available in: Unified diff
sql.py: put_table(): MissingCastException: Use new errors_table()