MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
marko dc9107df2a Remove dict_tree_t, which should have been removed in r453.
There always was a one-to-one mapping between dict_tree_t and dict_index_t.

This saves 6 machine words per B-tree index in the data dictionary
cache plus the memory allocation overhead.  We save one mem_heap_t
object per index (15 machine words).  Considering the internal
fragmentation of the buddy allocator in mem_area_alloc(), this should
save 32 machine words per index (128 bytes on 32-bit systems and 256
bytes on 64-bit systems).  (Bug #20877)

struct dict_tree_struct, dict_tree_t: Remove.

struct dict_index_struct: Add page and lock.

dict_tree_create(): Remove.  Replace the invocation with
assignment to index->page and a call to rw_lock_create(&index->lock).

dict_tree_free(): Remove.  Replace the invocation wtih
a call to rw_lock_free(&index->lock).

dict_index_get_tree(): Remove.

dict_tree_get_space_reserve(): Rename to dict_index_get_space_reserve()
and remove the parameter, which was unused.

btr_level_list_remove(): Remove the unused parameter "tree".

Replace the occurrences of "tree" with "index" in names of variables,
functions and data types, e.g. "dict_tree_t tree" becomes
"dict_index_t index".  Remove local variables "tree" or "index" of
functions that needed both "tree" and "index".
2006-09-15 11:04:01 +00:00
btr Remove dict_tree_t, which should have been removed in r453. 2006-09-15 11:04:01 +00:00
buf Reduce the size of btr_search_t from 13 machine words to 7. This 2006-09-14 20:42:46 +00:00
data Remove more remnants of mixed indexes. 2006-09-14 09:07:54 +00:00
dict Remove dict_tree_t, which should have been removed in r453. 2006-09-15 11:04:01 +00:00
dyn Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
eval The code base was reindented in r763 and automatic .emacs indentation 2006-09-15 07:32:15 +00:00
fil Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
fsp Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
fut Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
ha Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
handler Turn ha_innobase::build_template() from a non-static member function 2006-09-14 13:10:46 +00:00
ibuf Remove dict_tree_t, which should have been removed in r453. 2006-09-15 11:04:01 +00:00
include Remove dict_tree_t, which should have been removed in r453. 2006-09-15 11:04:01 +00:00
lock Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
log Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
mach Style cleanups: Convert spaces to tabs, remove trailing whitespace, other 2006-02-21 12:37:54 +00:00
mem Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
mtr Reduce the size of the data dictionary cache. (Bug #20877) 2006-09-12 14:06:46 +00:00
mysql-test Merge changes to the "innodb_mysql" test from MySQL AB 2006-09-05 19:29:18 +00:00
os Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
page Reduce the size of the data dictionary cache. (Bug #20877) 2006-09-12 14:06:46 +00:00
pars Reduce the size of the data dictionary cache. (Bug #20877) 2006-09-12 14:06:46 +00:00
que Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
read Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
rem Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
row Remove dict_tree_t, which should have been removed in r453. 2006-09-15 11:04:01 +00:00
srv Reduce the size of the data dictionary cache. (Bug #20877) 2006-09-12 14:06:46 +00:00
sync Reduce the size of the data dictionary cache. (Bug #20877) 2006-09-12 14:06:46 +00:00
thr Reindent the code base (except for ha_innodb.{cc,h} and generated parser 2006-08-28 17:42:45 +00:00
trx Remove Valgrind warning of Bug #20791 : in new database creation, we read 2006-08-31 19:19:22 +00:00
usr Fix wrong placement of static keyword in a few places. 2006-02-23 11:35:28 +00:00
ut Split lines before binary operators, not after them. 2006-08-29 08:27:56 +00:00
CMakeLists.txt Move ha_innodb.cc and ha_innodb.h from sql to storage/innobase/handler. 2006-09-11 08:51:46 +00:00
compile-innodb compile-innodb, compile-innodb-debug: 2006-08-31 09:36:45 +00:00
compile-innodb-debug compile-innodb, compile-innodb-debug: 2006-08-31 09:36:45 +00:00
export.sh Port r543 from innodb/branches/5.0: Port r29 from innodb-4.1/trunk: 2006-05-09 08:37:14 +00:00
Makefile.am Move ha_innodb.cc and ha_innodb.h from sql to storage/innobase/handler. 2006-09-11 08:51:46 +00:00
plug.in Move ha_innodb.cc and ha_innodb.h from sql to storage/innobase/handler. 2006-09-11 08:51:46 +00:00
revert_gen.sh Add revert_gen.sh. 2006-03-31 07:43:13 +00:00
setup.sh Move ha_innodb.cc and ha_innodb.h from sql to storage/innobase/handler. 2006-09-11 08:51:46 +00:00