diff options
author | unknown <monty@mashka.mysql.fi> | 2004-02-22 09:50:59 +0200 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2004-02-22 09:50:59 +0200 |
commit | 192bf819eb2bb91e383327d3bde6f596c20a82db (patch) | |
tree | dceddcd17cf1278b50f8838476df5644f764efe9 /innobase/btr | |
parent | 984750e13ef4a559c5da05b5fbd6fa363d3650b2 (diff) | |
parent | 522e83b64ab46d400ccb6aa8d7b749eefc28f4d5 (diff) | |
download | mariadb-git-192bf819eb2bb91e383327d3bde6f596c20a82db.tar.gz |
merge with 4.0
BitKeeper/etc/ignore:
auto-union
VC++Files/comp_err/comp_err.dsp:
Auto merged
VC++Files/my_print_defaults/my_print_defaults.dsp:
Auto merged
VC++Files/myisampack/myisampack.dsp:
Auto merged
acinclude.m4:
Auto merged
innobase/buf/buf0buf.c:
Auto merged
innobase/com/com0shm.c:
Auto merged
innobase/data/data0data.c:
Auto merged
innobase/ha/ha0ha.c:
Auto merged
innobase/include/buf0buf.ic:
Auto merged
innobase/include/dict0dict.h:
Auto merged
innobase/include/ibuf0ibuf.h:
Auto merged
innobase/include/lock0lock.h:
Auto merged
innobase/include/mtr0log.h:
Auto merged
innobase/include/mtr0mtr.h:
Auto merged
innobase/include/os0proc.h:
Auto merged
innobase/include/os0thread.h:
Auto merged
innobase/include/srv0srv.h:
Auto merged
innobase/include/sync0sync.h:
Auto merged
innobase/lock/lock0lock.c:
Auto merged
innobase/log/log0recv.c:
Auto merged
innobase/mem/mem0dbg.c:
Auto merged
innobase/mtr/mtr0mtr.c:
Auto merged
innobase/os/os0proc.c:
Auto merged
innobase/page/page0page.c:
Auto merged
innobase/que/que0que.c:
Auto merged
innobase/rem/rem0cmp.c:
Auto merged
innobase/row/row0ins.c:
Auto merged
innobase/row/row0mysql.c:
Auto merged
innobase/srv/srv0start.c:
Auto merged
innobase/sync/sync0sync.c:
Auto merged
innobase/trx/trx0rec.c:
Auto merged
innobase/trx/trx0trx.c:
Auto merged
innobase/ut/ut0mem.c:
Auto merged
innobase/ut/ut0ut.c:
Auto merged
libmysql/libmysql.c:
Auto merged
scripts/mysql_config.sh:
Auto merged
sql/net_serv.cc:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'innobase/btr')
-rw-r--r-- | innobase/btr/btr0sea.c | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/innobase/btr/btr0sea.c b/innobase/btr/btr0sea.c index 207ebcfb641..8a59be12a32 100644 --- a/innobase/btr/btr0sea.c +++ b/innobase/btr/btr0sea.c @@ -1500,75 +1500,6 @@ function_exit: } /************************************************************************ -Prints info of the search system. */ - -void -btr_search_print_info(void) -/*=======================*/ -{ - printf("SEARCH SYSTEM INFO\n"); - - rw_lock_x_lock(&btr_search_latch); - -/* ha_print_info(btr_search_sys->hash_index); */ - - rw_lock_x_unlock(&btr_search_latch); -} - -/************************************************************************ -Prints info of searches on an index. */ - -void -btr_search_index_print_info( -/*========================*/ - dict_index_t* index) /* in: index */ -{ - btr_search_t* info; - - printf("INDEX SEARCH INFO\n"); - - rw_lock_x_lock(&btr_search_latch); - - info = btr_search_get_info(index); - - printf("Searches %lu, hash succ %lu, fail %lu, patt succ %lu\n", - (ulong) info->n_searches, (ulong) info->n_hash_succ, - (ulong) info->n_hash_fail, (ulong) info->n_patt_succ); - - printf("Total of page cur short succ for all indexes %lu\n", - (ulong) page_cur_short_succ); - rw_lock_x_unlock(&btr_search_latch); -} - -/************************************************************************ -Prints info of searches on a table. */ - -void -btr_search_table_print_info( -/*========================*/ - char* name) /* in: table name */ -{ - dict_table_t* table; - dict_index_t* index; - - mutex_enter(&(dict_sys->mutex)); - - table = dict_table_get_low(name); - - ut_a(table); - - mutex_exit(&(dict_sys->mutex)); - - index = dict_table_get_first_index(table); - - while (index) { - btr_search_index_print_info(index); - - index = dict_table_get_next_index(index); - } -} - -/************************************************************************ Validates the search system. */ ibool |