Project

General

Profile

« Previous | Next » 

Revision 2971

sql.py: empty_temp(): Don't output at log_level 2 because it's an internal query, not part of the core algorithm

View differences:

lib/sql.py
1086 1086

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

  
1094 1091
def tables(db, schema_like='public', table_like='%', exact=False):
1095 1092
    if exact: compare = '='

Also available in: Unified diff