Project

General

Profile

« Previous | Next » 

Revision 2731

sql.py: tables(): Run query with log_level=4 because it's a low-level structure-determining query

View differences:

lib/sql.py
1017 1017
    AND tablename '''+compare+''' %(table_like)s
1018 1018
ORDER BY tablename
1019 1019
''',
1020
            params, cacheable=True))
1020
            params, cacheable=True, log_level=4))
1021 1021
    elif module == 'MySQLdb':
1022 1022
        return values(run_query(db, 'SHOW TABLES LIKE %(table_like)s', params,
1023
            cacheable=True))
1023
            cacheable=True, log_level=4))
1024 1024
    else: raise NotImplementedError("Can't list tables for "+module+' database')
1025 1025

  
1026 1026
def table_exists(db, table):

Also available in: Unified diff