Bug #34308 | Please provide SQL_NO_SLOW_LOG_ENTRY feature | ||
---|---|---|---|
Submitted: | 5 Feb 2008 13:21 | Modified: | 6 Feb 2008 19:35 |
Reporter: | Carsten Pedersen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S4 (Feature request) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any | |
Tags: | SELECT, slow log |
[5 Feb 2008 13:21]
Carsten Pedersen
[5 Feb 2008 15:39]
Brian Papantonio
I would take advantage of this feature!
[6 Feb 2008 8:29]
Eric Bergen
I wrote a patch for this some time ago that applies against 5.0.41. It's based on sql_log_bin and applies against 5.0.41. I can sign it over to mysql if there is interest. It adds a sql_log_slow session variable that works like sql_log_bin. It also patches mysqldump to wrap insert statemens in set sql_log_slow so that full insert queries aren't written to the slow query log when it's imported. See: http://ebergen.net/patches/sql_log_slow.patch
[6 Feb 2008 19:35]
Valeriy Kravchuk
Thank you for a reasonable feature request.