Project

General

Profile

« Previous | Next » 

Revision 3167

sql_io.py: cast_temp_col(): Don't automatically create an index on the new column, because it doesn't necessarily need an index and the main index used for the join is now added automatically by distinct_table()

View differences:

lib/sql_io.py
141 141
    new_col.name = new_typed_col.name # propagate any renaming
142 142
    
143 143
    sql.update(db, table, [(new_col, expr)], in_place=True, recover=True)
144
    sql.add_index(db, new_col)
145 144
    
146 145
    return new_col
147 146

  

Also available in: Unified diff