Project

General

Profile

« Previous | Next » 

Revision 2967

sql.py: empty_temp(): Don't print log message if not emptying any tables

View differences:

sql.py
1086 1086
def empty_temp(db, tables):
1087 1087
    tables = lists.mk_seq(tables)
1088 1088
    
1089
    if not tables: return # don't print log message
1089 1090
    db.log_debug('Emptying unneeded temp tables to free up memory', level=1.5)
1090 1091
    for table in tables: truncate(db, table)
1091 1092

  

Also available in: Unified diff