Project

General

Profile

« Previous | Next » 

Revision 3155

sql.py: DbConn.col_info(): cacheable param defaults to True now that callers explicitly turn off cacheable when needed

View differences:

lib/sql.py
425 425
            self.log_debug('Autocommitting', level=4)
426 426
            self.db.commit()
427 427
    
428
    def col_info(self, col, cacheable=False):
428
    def col_info(self, col, cacheable=True):
429 429
        table = sql_gen.Table('columns', 'information_schema')
430 430
        type_ = sql_gen.Coalesce(sql_gen.Nullif(sql_gen.Col('data_type'),
431 431
            'USER-DEFINED'), sql_gen.Col('udt_name'))

Also available in: Unified diff