mariadb/storage/maria
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
..
unittest Merge with 5.1-microseconds 2011-05-28 05:11:32 +03:00
CMakeLists.txt Fixed build failures with maria3.test and widows build 2011-06-11 11:41:46 +03:00
file_formats.txt
ft_maria.c Fixed some compiler warnings and errors in test suite found by buildbot 2010-01-27 23:53:08 +02:00
ha_maria.cc New status variables: Rows_tmp_read, Handler_tmp_update and Handler_tmp_write 2011-06-27 19:07:24 +03:00
ha_maria.h Merge with MariaDB 5.2 2011-05-10 18:17:43 +03:00
lockman.c Merge with 5.1-microseconds 2011-05-28 05:11:32 +03:00
lockman.h
ma_bitmap.c Fixed several errors in Aria discovered by test case for lp:727869 ma_pagecache.c:2103: find_block: Assertion `block->rlocks == 0 2011-06-24 12:08:45 +03:00
ma_blockrec.c Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
ma_blockrec.h Aria issues: 2011-01-24 15:19:40 +02:00
ma_cache.c - maria/ma_test_all.sh can now be run with --tmpdir=/dev/shm for faster testing 2011-02-25 14:55:40 +02:00
ma_changed.c
ma_check.c Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
ma_check_standalone.h rename maria to aria 2010-09-12 18:40:01 +02:00
ma_checkpoint.c Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK" 2011-04-28 18:02:26 +03:00
ma_checkpoint.h rename maria to aria 2010-09-12 18:40:01 +02:00
ma_checksum.c
ma_close.c Fixed portability problem with partiton_error.test 2011-06-13 12:46:11 +03:00
ma_commit.c
ma_commit.h
ma_control_file.c rename maria to aria 2010-09-12 18:40:01 +02:00
ma_control_file.h rename maria to aria 2010-09-12 18:40:01 +02:00
ma_create.c Merge with 5.2 2011-06-10 12:09:21 +03:00
ma_dbug.c Automatic merge with 5.1 2010-11-04 16:53:10 +02:00
ma_delete.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_delete_all.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_delete_table.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_dynrec.c - maria/ma_test_all.sh can now be run with --tmpdir=/dev/shm for faster testing 2011-02-25 14:55:40 +02:00
ma_extra.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_ft_boolean_search.c Merge with 5.2 (To get in fixes for Aria) 2011-01-11 19:01:03 +02:00
ma_ft_eval.c
ma_ft_eval.h
ma_ft_nlq_search.c Improved speed of thr_alarm from O(N) to O(1). thr_alarm is used to handle timeouts and kill of connections. 2010-07-16 10:33:01 +03:00
ma_ft_parser.c Applied Antony T Curtis patch for declaring many CHARSET objects as const 2010-01-06 21:20:16 +02:00
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 Merge with MariaDB 5.1 2011-05-03 19:10:10 +03:00
ma_key.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_key_recover.c Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
ma_key_recover.h Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +03:00
ma_keycache.c Aria issues: 2011-01-24 15:19:40 +02:00
ma_locking.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_loghandler.c Merge with 5.1-microseconds 2011-05-28 05:11:32 +03:00
ma_loghandler.h Fix of compiler errors. 2011-05-16 16:13:34 +03:00
ma_loghandler_lsn.h
ma_norec.c Added support for NO_RECORD record format (don't store any row data) for Aria. 2011-01-14 11:54:39 +01:00
ma_open.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_packrec.c Use _ma_set_fatal_error() in Aria also for HA_ERR_WRONG_IN_RECORD, to be able to get an assert as soon as a failure is detected. 2011-01-26 15:29:36 +02:00
ma_page.c Aria issues: 2011-01-24 15:19:40 +02:00
ma_pagecache.c Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
ma_pagecache.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
ma_pagecaches.c
ma_pagecrc.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_panic.c Aria issues: 2011-01-24 15:19:40 +02:00
ma_preload.c
ma_range.c
ma_recovery.c Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
ma_recovery.h Fixed portability problem with partiton_error.test 2011-06-13 12:46:11 +03:00
ma_recovery_util.c Aria issues: 2011-01-24 15:19:40 +02:00
ma_recovery_util.h
ma_rename.c
ma_rfirst.c
ma_rkey.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_rlast.c
ma_rnext.c Merge in new handler and handlersocket code into 5.3 main 2011-02-22 11:15:47 +02:00
ma_rnext_same.c Fix for lp:711565 "Index Condition Pushdown can make a thread hold MyISAM locks as well as be unKILLable for long time" 2011-02-18 17:43:59 +02:00
ma_rprev.c Fix for lp:711565 "Index Condition Pushdown can make a thread hold MyISAM locks as well as be unKILLable for long time" 2011-02-18 17:43:59 +02:00
ma_rrnd.c
ma_rsame.c Fixed wrong test in maria_rsame() that caused ma_test_all to fail. 2011-01-11 13:27:16 +02:00
ma_rsamepos.c
ma_rt_index.c Safety fix for Aria: 2011-01-11 12:18:03 +02:00
ma_rt_index.h
ma_rt_key.c Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +03:00
ma_rt_key.h
ma_rt_mbr.c
ma_rt_mbr.h
ma_rt_split.c When compiling with valgrind, change my_alloca() to use my_malloc() 2010-12-13 15:05:57 +02:00
ma_rt_test.c - maria/ma_test_all.sh can now be run with --tmpdir=/dev/shm for faster testing 2011-02-25 14:55:40 +02:00
ma_scan.c
ma_search.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_servicethread.c
ma_servicethread.h
ma_sort.c Merge with 5.1 2011-01-11 15:36:41 +02:00
ma_sp_defs.h
ma_sp_key.c
ma_sp_test.c
ma_state.c Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
ma_state.h Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
ma_static.c Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK" 2011-04-28 18:02:26 +03:00
ma_statrec.c Use _ma_set_fatal_error() in Aria also for HA_ERR_WRONG_IN_RECORD, to be able to get an assert as soon as a failure is detected. 2011-01-26 15:29:36 +02:00
ma_test1.c Merge with 5.2 2011-03-09 15:47:59 +02:00
ma_test2.c - maria/ma_test_all.sh can now be run with --tmpdir=/dev/shm for faster testing 2011-02-25 14:55:40 +02:00
ma_test3.c Removed compiler warnings 2010-01-06 23:27:53 +02:00
ma_test_all.res
ma_test_all.sh
ma_test_big.sh
ma_test_force_start.pl rename maria to aria 2010-09-12 18:40:01 +02:00
ma_test_recovery
ma_unique.c Merge in new handler and handlersocket code into 5.3 main 2011-02-22 11:15:47 +02:00
ma_update.c Fixes for Aria storage engine: 2011-02-10 20:33:51 +02:00
ma_write.c Merge with 5.2 2011-03-09 15:47:59 +02:00
Makefile.am Removed depricated --maria-options from mysqld. 2011-06-09 21:39:31 +03:00
maria_chk.c Merge 5.2 -> 5.3 2011-06-24 21:43:31 +04:00
maria_def.h Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK" 2011-04-28 18:02:26 +03:00
maria_dump_log.c Merge MariaDB 5.1->5.2 2010-11-19 22:33:47 +01:00
maria_ftdump.c rename maria to aria 2010-09-12 18:40:01 +02:00
maria_pack.c Merge with 5.1-release. 2010-12-06 10:25:44 +02:00
maria_read_log.c Fixed portability problem with partiton_error.test 2011-06-13 12:46:11 +03:00
maria_rename.sh
plug.in Merge MariaDB 5.1->5.2 2010-11-19 22:33:47 +01:00
tablockman.c Fix compile errors and warnings and test errors introduced by microseconds push. 2011-05-28 16:57:58 +02:00
tablockman.h
test_pack
trnman.c Fix for LP#634943 "marked as crashed", "zerofilling" and "wrong data in bitmap" when recovering Aria tables 2010-09-10 23:27:26 +03:00
trnman.h
trnman_public.h