Project

General

Profile

« Previous | Next » 

Revision 3245

sql.py: DbConn.run_query(): Only print notices in debug mode, because they are output with a log level higher than the debug verbosity threshold, and this avoid unnecessary overhead

View differences:

lib/sql.py
393 393
                
394 394
                if debug_msg_ref != None: debug_msg_ref[0] = msg
395 395
                else: self.log_debug(msg, log_level)
396
            self.print_notices()
396
                
397
                self.print_notices()
397 398
        
398 399
        return cur
399 400
    

Also available in: Unified diff