Revision 4447
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
20 | 20 |
|
21 | 21 |
null_strs = ['', r'\N', 'NULL', 'UNKNOWN'] |
22 | 22 |
|
23 |
def cleanup_table(db, table, cols=None):
|
|
23 |
def cleanup_table(db, table): |
|
24 | 24 |
table = sql_gen.as_Table(table) |
25 | 25 |
cols = [sql_gen.as_Col(c, table) for c in sql.table_cols(db, table)] |
26 | 26 |
cols = filter(lambda c: sql_gen.is_text_col(db, c), cols) |
Also available in: Unified diff
sql_io.py: cleanup_table(): Removed no longer used cols param