mariadb/storage
Michael Widenius ba9a890f0c New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write
Split status variable Rows_read to Rows_read and Rows_tmp_read so that one can see how much real data is read.
Same was done with with Handler_update and Handler_write.
Fixed bug in MEMORY tables where some variables was counted twice.
Added new internal handler call 'ha_close()' to have one place to gather statistics.
Fixed bug where thd->open_options was set to wrong value when doing admin_recreate_table()


mysql-test/r/status.result:
  Updated test results and added new tests
mysql-test/r/status_user.result:
  Udated test results
mysql-test/t/status.test:
  Added new test for temporary table status variables
sql/ha_partition.cc:
  Changed to call ha_close() instead of close()
sql/handler.cc:
  Added internal_tmp_table variable for easy checking of temporary tables.
  Added new internal handler call 'ha_close()' to have one place to gather statistics.
  Gather statistics for internal temporary tables.
sql/handler.h:
  Added handler variables internal_tmp_table, rows_tmp_read.
  Split function update_index_statistics() to two.
  Added ha_update_tmp_row() for faster tmp table handling with more statistics.
sql/item_sum.cc:
  ha_write_row() -> ha_write_tmp_row()
sql/multi_range_read.cc:
  close() -> ha_close()
sql/mysqld.cc:
  New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write
sql/opt_range.cc:
  close() -> ha_close()
sql/sql_base.cc:
  close() -> ha_close()
sql/sql_class.cc:
  Added handling of rows_tmp_read
sql/sql_class.h:
  Added new satistics variables.
  rows_read++  ->  update_rows_read() to be able to correctly count reads to internal temp tables.
  Added handler::ha_update_tmp_row()
sql/sql_connect.cc:
  Added comment
sql/sql_expression_cache.cc:
  ha_write_row() -> ha_write_tmp_row()
sql/sql_select.cc:
  close() -> ha_close()
  ha_update_row() -> ha_update_tmp_row()
sql/sql_show.cc:
  ha_write_row() -> ha_write_tmp_row()
sql/sql_table.cc:
  Fixed bug where thd->open_options was set to wrong value when doing admin_recreate_table()
sql/sql_union.cc:
  ha_write_row() -> ha_write_tmp_row()
sql/sql_update.cc:
  ha_write_row() -> ha_write_tmp_row()
sql/table.cc:
  close() -> ha_close()
storage/heap/ha_heap.cc:
  Removed double counting of statistic variables.
  close -> ha_close() to get tmp table statistics.
storage/maria/ha_maria.cc:
  close -> ha_close() to get tmp table statistics.
2011-06-27 19:07:24 +03:00
..
archive Fixes BUG#60976 "Crash, valgrind warning and memory leak with partitioned archive tables" 2011-06-11 14:28:15 +03:00
blackhole merge 2010-12-06 13:16:49 +01:00
csv merge 2010-12-06 13:16:49 +01:00
example small enhancement of the create table options feature: 2011-05-10 18:19:11 +02:00
federated Merge with 5.1 2011-01-12 17:38:13 +02:00
federatedx Merge with 5.2 2011-03-09 15:47:59 +02:00
heap New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write 2011-06-27 19:07:24 +03:00
ibmdb2i Fixed typos 2011-01-07 13:45:59 +02:00
innobase merge with 5.1-micro 2011-06-07 18:13:02 +02:00
innodb_plugin merge with 5.1-micro 2011-06-07 18:13:02 +02:00
maria New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write 2011-06-27 19:07:24 +03:00
myisam Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
myisammrg Merge with MariaDB 5.2 2011-05-10 18:17:43 +03:00
ndb Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
oqgraph Detect Boost installation and build OQGRAPH when possible. For now, disable oqgraph on x64 until 2011-04-10 22:48:28 -07:00
pbxt Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
sphinx MBug#691437: storage/sphinx/plug.in missing from source tarball. 2010-12-17 08:33:36 +01:00
xtradb merge with 5.1-micro 2011-06-07 18:13:02 +02:00
Makefile.am Merge with MySQL 5.1.50 2010-08-27 17:12:44 +03:00
mysql_storage_engine.cmake Small CMake fixes : 2011-05-15 13:38:18 +02:00