mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
ba9a890f0c
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. |
||
---|---|---|
.. | ||
unittest | ||
CMakeLists.txt | ||
file_formats.txt | ||
ft_maria.c | ||
ha_maria.cc | ||
ha_maria.h | ||
lockman.c | ||
lockman.h | ||
ma_bitmap.c | ||
ma_blockrec.c | ||
ma_blockrec.h | ||
ma_cache.c | ||
ma_changed.c | ||
ma_check.c | ||
ma_check_standalone.h | ||
ma_checkpoint.c | ||
ma_checkpoint.h | ||
ma_checksum.c | ||
ma_close.c | ||
ma_commit.c | ||
ma_commit.h | ||
ma_control_file.c | ||
ma_control_file.h | ||
ma_create.c | ||
ma_dbug.c | ||
ma_delete.c | ||
ma_delete_all.c | ||
ma_delete_table.c | ||
ma_dynrec.c | ||
ma_extra.c | ||
ma_ft_boolean_search.c | ||
ma_ft_eval.c | ||
ma_ft_eval.h | ||
ma_ft_nlq_search.c | ||
ma_ft_parser.c | ||
ma_ft_stem.c | ||
ma_ft_test1.c | ||
ma_ft_test1.h | ||
ma_ft_update.c | ||
ma_ftdefs.h | ||
ma_fulltext.h | ||
ma_info.c | ||
ma_init.c | ||
ma_key.c | ||
ma_key_recover.c | ||
ma_key_recover.h | ||
ma_keycache.c | ||
ma_locking.c | ||
ma_loghandler.c | ||
ma_loghandler.h | ||
ma_loghandler_lsn.h | ||
ma_norec.c | ||
ma_open.c | ||
ma_packrec.c | ||
ma_page.c | ||
ma_pagecache.c | ||
ma_pagecache.h | ||
ma_pagecaches.c | ||
ma_pagecrc.c | ||
ma_panic.c | ||
ma_preload.c | ||
ma_range.c | ||
ma_recovery.c | ||
ma_recovery.h | ||
ma_recovery_util.c | ||
ma_recovery_util.h | ||
ma_rename.c | ||
ma_rfirst.c | ||
ma_rkey.c | ||
ma_rlast.c | ||
ma_rnext.c | ||
ma_rnext_same.c | ||
ma_rprev.c | ||
ma_rrnd.c | ||
ma_rsame.c | ||
ma_rsamepos.c | ||
ma_rt_index.c | ||
ma_rt_index.h | ||
ma_rt_key.c | ||
ma_rt_key.h | ||
ma_rt_mbr.c | ||
ma_rt_mbr.h | ||
ma_rt_split.c | ||
ma_rt_test.c | ||
ma_scan.c | ||
ma_search.c | ||
ma_servicethread.c | ||
ma_servicethread.h | ||
ma_sort.c | ||
ma_sp_defs.h | ||
ma_sp_key.c | ||
ma_sp_test.c | ||
ma_state.c | ||
ma_state.h | ||
ma_static.c | ||
ma_statrec.c | ||
ma_test1.c | ||
ma_test2.c | ||
ma_test3.c | ||
ma_test_all.res | ||
ma_test_all.sh | ||
ma_test_big.sh | ||
ma_test_force_start.pl | ||
ma_test_recovery | ||
ma_unique.c | ||
ma_update.c | ||
ma_write.c | ||
Makefile.am | ||
maria_chk.c | ||
maria_def.h | ||
maria_dump_log.c | ||
maria_ftdump.c | ||
maria_pack.c | ||
maria_read_log.c | ||
maria_rename.sh | ||
plug.in | ||
tablockman.c | ||
tablockman.h | ||
test_pack | ||
trnman.c | ||
trnman.h | ||
trnman_public.h |