I would like to add sql_log_off on/off as session level options for a connection. This would be similar to AutoCommit on/off option. Use case: Assume that general query logging is enabled for the MySQL server (general_log=ON). Assuming I have the necessary privilege I would like to be able to turn off logging for a Toad connection (sql_log_off=1). In particular for the Session Monitor I'd like to avoid the unnecessary and repetitive logging of "SHOW STATUS" and "SHOW FULL PROCESSLIST." I can't find a way to do this currently. If there is a way, please let me know.
↧