2008-10-23 10:49:45 |
Arjen Lentz |
bug |
|
|
added bug |
2008-10-28 06:15:38 |
Arjen Lentz |
ourdelta: status |
New |
Confirmed |
|
2008-10-28 06:15:38 |
Arjen Lentz |
ourdelta: assignee |
|
arjen-lentz |
|
2008-10-28 06:15:38 |
Arjen Lentz |
ourdelta: importance |
Undecided |
Medium |
|
2008-10-28 06:15:38 |
Arjen Lentz |
ourdelta: statusexplanation |
|
|
|
2008-10-31 11:39:14 |
Arjen Lentz |
ourdelta: status |
Confirmed |
In Progress |
|
2008-10-31 11:39:14 |
Arjen Lentz |
ourdelta: importance |
Medium |
High |
|
2008-10-31 11:39:14 |
Arjen Lentz |
ourdelta: statusexplanation |
|
In mysqld.cc, get_one_option() function, adding in:
+ case OPT_LONG_QUERY_TIME:
+ /*
+ Fix up low values to ensure backward compatibility in microslow patch:
+ if long_query_time < 600 (10 minutes in old granularity)
+ then we simply adjust it for microseconds.
+ */
+ if (global_system_variables.long_query_time < 600)
+ global_system_variables.long_query_time *= 1000000;
+ break;
that should do the trick cleanly.
Modified in ourdelta-percona-d6-mysql50 branch for testing. |
|
2008-10-31 15:22:49 |
Arjen Lentz |
ourdelta: status |
In Progress |
Fix Committed |
|
2008-10-31 15:22:49 |
Arjen Lentz |
ourdelta: statusexplanation |
In mysqld.cc, get_one_option() function, adding in:
+ case OPT_LONG_QUERY_TIME:
+ /*
+ Fix up low values to ensure backward compatibility in microslow patch:
+ if long_query_time < 600 (10 minutes in old granularity)
+ then we simply adjust it for microseconds.
+ */
+ if (global_system_variables.long_query_time < 600)
+ global_system_variables.long_query_time *= 1000000;
+ break;
that should do the trick cleanly.
Modified in ourdelta-percona-d6-mysql50 branch for testing. |
|
|
2008-11-02 04:01:48 |
Arjen Lentz |
ourdelta: status |
Fix Committed |
In Progress |
|
2008-11-02 04:01:48 |
Arjen Lentz |
ourdelta: assignee |
arjen-lentz |
erik-ibiblio |
|
2008-11-02 04:01:48 |
Arjen Lentz |
ourdelta: statusexplanation |
|
Erik noted correctly that the granularity fixup also needs to be applied on SET [SESSION|GLOBAL] long_query_time = ...
Needs to done in sql/set_var.cc
|
|
2008-11-03 06:02:08 |
Arjen Lentz |
ourdelta: status |
In Progress |
Fix Committed |
|
2008-11-03 06:02:08 |
Arjen Lentz |
ourdelta: assignee |
erik-ibiblio |
arjen-lentz |
|
2008-11-03 06:02:08 |
Arjen Lentz |
ourdelta: statusexplanation |
Erik noted correctly that the granularity fixup also needs to be applied on SET [SESSION|GLOBAL] long_query_time = ...
Needs to done in sql/set_var.cc
|
|
|
2008-11-04 22:14:37 |
Arjen Lentz |
ourdelta: status |
Fix Committed |
Fix Released |
|
2008-11-04 22:14:37 |
Arjen Lentz |
ourdelta: statusexplanation |
|
In OurDelta builds from patchset d7.
Percona will also pick up the new patch for their builds. |
|