Annamalai Gurusami
ad84fb5c37
Bug #13117023 : Innodb increments handler_read_key when it should not
...
The counter handler_read_key (SSV::ha_read_key_count) is incremented
incorrectly.
The mysql server maintains a per thread system_status_var (SSV)
object. This object contains among other things the counter
SSV::ha_read_key_count. The purpose of this counter is to measure the
number of requests to read a row based on a key (or the number of
index lookups).
This counter was wrongly incremented in the
ha_innobase::innobase_get_index(). The fix removes
this increment statement (for both innodb and innodb_plugin).
The various callers of the innobase_get_index() was checked to
determine if anybody must increment this counter (if they first call
innobase_get_index() and then perform an index lookup). It was found
that no caller of innobase_get_index() needs to worry about the
SSV::ha_read_key_count counter.
2011-12-13 14:26:12 +05:30
..
2010-06-10 15:56:23 +03:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2010-04-09 15:56:51 +03:00
2011-01-14 09:02:28 -08:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-21 12:40:32 +03:00
2011-09-27 12:56:05 +02:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-06-03 12:48:59 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 16:38:28 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 16:38:28 +03:00
2010-04-09 16:38:28 +03:00
2011-09-27 12:56:05 +02:00
2010-04-09 16:38:28 +03:00
2010-04-09 16:38:28 +03:00
2010-04-09 16:38:28 +03:00
2010-04-09 16:38:28 +03:00
2010-05-18 16:06:58 +03:00
2010-05-10 13:38:25 +02:00
2010-04-09 16:38:28 +03:00
2010-04-22 14:16:14 -05:00
2010-04-26 13:27:25 +03:00
2011-09-27 12:56:05 +02:00
2010-11-02 18:57:20 +02:00
2010-05-05 15:39:01 +03:00
2011-09-27 12:56:05 +02:00
2010-06-03 12:46:37 +03:00
2010-06-02 13:37:14 +03:00
2010-06-02 13:37:14 +03:00
2010-09-06 22:41:37 -07:00
2011-03-15 16:06:59 +01:00
2010-06-29 00:13:18 -07:00
2010-07-20 14:36:15 -03:00
2011-01-12 17:53:05 +02:00
2011-09-27 12:56:05 +02:00
2010-10-04 13:06:41 +03:00
2010-10-11 11:18:00 +03:00
2010-10-18 14:20:16 +03:00
2010-12-14 11:38:19 +02:00
2011-02-15 10:51:33 +02:00
2011-04-06 14:38:24 +03:00
2011-09-27 12:56:05 +02:00
2011-02-15 12:12:27 +02:00
2011-02-17 22:25:33 +02:00
2011-11-18 10:59:10 -05:00
2011-11-18 10:59:10 -05:00
2011-09-27 12:56:05 +02:00
2010-04-09 15:56:51 +03:00
2010-06-03 12:48:59 +03:00
2011-02-17 19:09:53 +02:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2011-10-26 09:38:28 +03:00
2011-10-26 09:38:28 +03:00
2010-12-14 12:33:03 +03:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2011-05-26 17:14:47 +04:00
2010-06-03 12:48:59 +03:00
2011-11-10 12:49:31 +02:00
2010-06-03 12:48:59 +03:00
2010-06-03 12:48:59 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2011-09-27 12:56:05 +02:00
2011-09-27 12:56:05 +02:00
2010-11-30 20:11:26 +11:00
2011-09-27 12:56:05 +02:00
2010-06-03 12:48:59 +03:00
2011-09-27 12:56:05 +02:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2011-09-27 12:56:05 +02:00
2010-04-12 16:58:47 +03:00
2011-10-26 11:44:28 +03:00
2011-11-10 16:45:47 +02:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 15:56:51 +03:00
2010-06-03 12:48:59 +03:00
2010-04-09 15:56:51 +03:00
2010-04-09 16:38:28 +03:00
2011-09-27 12:56:05 +02:00
2011-12-13 14:26:12 +05:30