Revision 4457
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
34 | 34 |
sql.update(db, table, changes, in_place=True, recover=True) |
35 | 35 |
break # successful |
36 | 36 |
except sql.NullValueException, e: |
37 |
db.log_debug('Caught exception: '+exc.str_(e)) |
|
37 | 38 |
col, = e.cols |
38 | 39 |
sql.drop_not_null(db, col) |
39 | 40 |
|
Also available in: Unified diff
sql_io.py: cleanup_table(): NullValueException: Log the caught exception so it's clear that the update is being retried