Project

General

Profile

« Previous | Next » 

Revision 14821

lib/sql_io.py: cleanup_table(): debug-print null_strs

View differences:

trunk/lib/sql_io.py
58 58
    
59 59
    db.log_debug('Cleaning up table', level=1.5)
60 60
    
61
    db.log_debug('null_strs = '+repr(null_strs), level=1.5)
61 62
    expr = 'trim(both from %s)'
62 63
    for null in null_strs: expr = 'nullif('+expr+', '+db.esc_value(null)+')'
63 64
    changes = [(v, sql_gen.CustomCode(expr % v.to_str(db))) for v in cols]

Also available in: Unified diff