mariadb/mysql-test/suite
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
..
binlog BUG#12574820: binlog.binlog_tmp_table timing out in daily and weekly trunk run 2011-05-26 12:50:43 +02:00
engines bug#11766457 - adjusting/modifying the the tests as tests were failing if system time zone is set differently. 2011-10-12 10:10:52 +05:30
federated Test federated_plugin must have ps-protocol off 2011-09-15 12:20:43 +02:00
funcs_1 Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
funcs_2 Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
im Move instance manager tests to it's own suite 2007-08-29 19:02:33 +02:00
innodb Bug #13117023: Innodb increments handler_read_key when it should not 2011-12-13 14:26:12 +05:30
innodb_plugin Bug #13117023: Innodb increments handler_read_key when it should not 2011-12-13 14:26:12 +05:30
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests Bug#27029 alter table ... enable keys crashes mysqld on large table 2007-06-21 12:45:56 -04:00
manual BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
ndb Fixed test ndb.ndb_partition_error2, didn't include have_ndb.inc 2011-07-28 13:01:51 +02:00
ndb_team Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
parts Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
rpl BUG#11753004: 44360: REPLICATION FAILED 2011-07-14 12:15:24 +01:00
rpl_ndb Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars BUG#11758062 - 50206: ER_TOO_BIG_SELECT REFERS TO OUTMODED 2011-09-28 15:39:21 +05:30