Project

General

Profile

« Previous | Next » 

Revision 3108

sql_io.py: put_table(): Removed no longer used sql.FunctionValueException handling, because type casting functions now do their own invalid value handling

View differences:

sql_io.py
406 406
                log_debug('Missing mapping for NOT NULL column '+out_col)
407 407
                remove_all_rows()
408 408
            else: remove_rows(in_col, None, e)
409
        except sql.FunctionValueException, e:
410
            log_exc(e)
411
            
412
            func_name = e.name
413
            value = e.value
414
            for out_col, in_col in mapping.iteritems():
415
                in_col = sql_gen.unwrap_func_call(in_col, func_name)
416
                invalid2null(in_col, value, e)
417 409
        except sql.DatabaseErrors, e:
418 410
            log_exc(e)
419 411
            

Also available in: Unified diff