Revision 4210
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
18 | 18 |
|
19 | 19 |
##### Data cleanup |
20 | 20 |
|
21 |
null_strs = ['', r'\N'] |
|
21 |
null_strs = ['', r'\N', 'NULL']
|
|
22 | 22 |
|
23 | 23 |
def cleanup_table(db, table, cols): |
24 | 24 |
table = sql_gen.as_Table(table) |
Also available in: Unified diff
sql_io.py: null_strs: Added 'NULL', which is used by phpMyAdmin as the default "Replace NULL with" value for CSV exports