Project

General

Profile

« Previous | Next » 

Revision 2708

sql.py: put_table(): MissingCastException: Fixed bug where errors_table needed to have the same schema as in_tables0 as well as part of the same name

View differences:

sql.py
1243 1243
            type_ = e.type
1244 1244
            
1245 1245
            log_debug('Casting '+out_col+"'s input to "+type_)
1246
            errors_table = str(in_tables0)+'.errors'
1246
            errors_table = sql_gen.suffixed_table(in_tables0, '.errors')
1247 1247
            def wrap_func(col): return cast(db, type_, col, errors_table)
1248 1248
            mapping[out_col] = sql_gen.wrap(wrap_func, mapping[out_col])
1249 1249
        except DatabaseErrors, e:

Also available in: Unified diff