mariadb/storage/innobase/row
Vasil Dimov f7c8352193 Fix Bug#56340 innodb updates index stats too frequently after non-index updates
This is a manual merge from mysql-5.1-innodb of:

  revno: 3618
  revision-id: vasil.dimov@oracle.com-20100930124844-yglojy7c3vaji6dx
  parent: vasil.dimov@oracle.com-20100930102618-s9f9ytbytr3eqw9h
  committer: Vasil Dimov <vasil.dimov@oracle.com>
  branch nick: mysql-5.1-innodb
  timestamp: Thu 2010-09-30 15:48:44 +0300
  message:
    Fix Bug#56340 innodb updates index stats too frequently after non-index updates

    This is a simple optimization issue. All stats are related to only indexed
    columns, index size or number of rows in the whole table. UPDATEs that touch
    only non-indexed columns cannot affect stats and we can avoid calling the
    function row_update_statistics_if_needed() which may result in unnecessary I/O.

    Approved by:	Marko (rb://466)

In addition to the above message: we know that
row_update_cascade_for_mysql() (the other place where
row_update_statistics_if_needed is called) always updates indexed
columns (FK-related), so there is no need to add this cond there.
2010-10-01 10:34:21 +03:00
..
row0ext.c Renamed storage/innodb_plugin to storage/innobase, so that 1) it's the same 2009-08-07 12:16:00 +02:00
row0ins.c Bug#52199 utf32: mbminlen=4, mbmaxlen=4, type->mbminlen=0, type->mbmaxlen=4 2010-06-29 14:32:48 +03:00
row0merge.c Merge mysql-trunk-bugfixing -> mysql-trunk-innodb 2010-07-21 17:22:29 +03:00
row0mysql.c Fix Bug#56340 innodb updates index stats too frequently after non-index updates 2010-10-01 10:34:21 +03:00
row0purge.c (row0purge.c:789) Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-20 19:09:30 +03:00
row0row.c Merge Bug#54408 fix from mysql-5.1-innodb: 2010-06-29 16:21:05 +03:00
row0sel.c Merge Bug#55626 fix from mysql-5.1-innodb: 2010-08-18 14:40:02 +03:00
row0uins.c Bug#54728: Replace the dulint struct with a 64-bit integer. 2010-06-23 14:06:59 +03:00
row0umod.c (row0umod.c:117) Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-20 19:10:33 +03:00
row0undo.c Merge Bug#54408 fix from mysql-5.1-innodb: 2010-06-29 16:21:05 +03:00
row0upd.c Merge Bug#54408 fix from mysql-5.1-innodb: 2010-06-29 16:21:05 +03:00
row0vers.c (row0vers.c:74) Bug#55227 Fix compiler warnings in innodb with gcc 4.6 2010-09-20 19:17:20 +03:00