Bug #28808 log_queries_not_using_indexes variable dynamic change is ignored
| Submitted: | 31 May 2007 14:00 | Modified: | 10 Jul 2007 22:14 |
|---|---|---|---|
| Reporter: | Valeriy Kravchuk | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
| Version: | 5.0.44-BK, 5.0.40, 5.0.34, 5.0.24a | OS: | Linux |
| Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
| Tags: | bfsm_2007_06_21, bfsm_2007_06_28 | ||
[31 May 2007 14:00]
Valeriy Kravchuk
[26 Jun 2007 15:18]
Shane Bester
in 5.0.24a if you start server with --log-slow-queries and then dynamically set log_queries_not_using_indexes to 1, queries still aren't logged to slow query log that don't use index.
[26 Jun 2007 20:29]
Harrison Fisk
Patch to make log-slow-queries-not-using-indexes setable on SESSION or GLOBAL
Attachment: log_queries_not_using_indexes.diff (application/octet-stream, text), 2.58 KiB.
[26 Jun 2007 20:31]
Harrison Fisk
The attached patch was done against 5.1-bk since it technically changes the behavior. It should be trivial to backport if neccesary as it only changes ~4 lines.
[5 Jul 2007 10:34]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/30363 ChangeSet@1.2519, 2007-07-05 15:34:12+05:00, ramil@mysql.com +5 -0 Fix for bug #28808: log_queries_not_using_indexes variable dynamic change is ignored Problem: logging queries not using indexes we check a special flag which is set only at the server startup and is not changing with a corresponding server variable together. Fix: check the variable value instead of the flag.
[10 Jul 2007 13:27]
Bugs System
Pushed into 5.1.21-beta
[10 Jul 2007 13:28]
Bugs System
Pushed into 5.0.46
[10 Jul 2007 22:14]
Paul DuBois
Noted in 5.0.46, 5.1.21 changelogs. Runtime changes to the log_queries_not_using_indexes system variable were ignored.
[24 Jul 2007 6:09]
Sveta Smirnova
Bug #29995 was marked as duplicate of this one
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.071 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.