mariadb/storage/heap
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
..
.cvsignore Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
_check.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
_rectest.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
ChangeLog Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
CMakeLists.txt Bug#473914: mysql_client_test fail with in debug compilaton on windows x64 2010-12-06 12:52:06 +01:00
ha_heap.cc New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write 2011-06-27 19:07:24 +03:00
ha_heap.h Merge with MariaDB 5.2 2011-05-10 18:17:43 +03:00
heapdef.h Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_block.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
hp_clear.c Added HANDLER support for MEMORY tables 2011-01-11 18:51:59 +02:00
hp_close.c Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_create.c Fixed all BUILD scripts to use g++ instead of gcc for linking 2011-03-31 16:26:51 +03:00
hp_delete.c Merge with 5.2 2011-03-09 15:47:59 +02:00
hp_extra.c Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
hp_hash.c Fix for LP BUG#606013: Adding bit field support for heap tables. 2010-11-23 12:35:37 +02:00
hp_info.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
hp_open.c Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_panic.c Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
hp_rename.c Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
hp_rfirst.c Fixed build issues 2011-02-23 14:46:16 +02:00
hp_rkey.c Fixed build issues 2011-02-23 14:46:16 +02:00
hp_rlast.c Added HANDLER support for MEMORY tables 2011-01-11 18:51:59 +02:00
hp_rnext.c Fixed build issues 2011-02-23 14:46:16 +02:00
hp_rprev.c Fixed build issues 2011-02-23 14:46:16 +02:00
hp_rrnd.c WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
hp_rsame.c Fixed build issues 2011-02-23 14:46:16 +02:00
hp_scan.c Added HANDLER support for MEMORY tables 2011-01-11 18:51:59 +02:00
hp_static.c Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-31 01:32:21 +01:00
hp_test1.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
hp_test2.c Removed some alias warnings 2011-05-18 00:47:56 +03:00
hp_update.c Added HANDLER support for MEMORY tables 2011-01-11 18:51:59 +02:00
hp_write.c Added HANDLER support for MEMORY tables 2011-01-11 18:51:59 +02:00
make-ccc Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
Makefile.am Fixed compiler and gmake warnings 2010-11-29 11:27:52 +02:00
plug.in MWL#74: Shared libmysqld.so library. 2010-11-17 13:24:20 +01:00