Revision 3154
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1136 | 1136 |
log_level=3) |
1137 | 1137 |
new_col.name = new_typed_col.name # propagate any renaming |
1138 | 1138 |
|
1139 |
update(db, col.table, [(new_col, expr)], in_place=True, cacheable=True,
|
|
1140 |
log_level=3) |
|
1139 |
update(db, col.table, [(new_col, expr)], in_place=True, cacheable_=nullable,
|
|
1140 |
cacheable=True, log_level=3)
|
|
1141 | 1141 |
if not nullable: add_not_null(db, new_col) |
1142 | 1142 |
add_index(db, new_col) |
1143 | 1143 |
|
Also available in: Unified diff
sql.py: add_index_col(): Explicitly set update()'s col_info caching depending on whether col_info will be changed later by add_not_null()