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 60bbfd6d0b branches/innodb+: Clean up the buffering of purges. Instead of
traversing the index B-tree twice (first in BTR_WATCH_LEAF mode and
then in BTR_DELETE mode), let BTR_DELETE take care of checking that
the record can be purged, and either buffering or performing the
purge.

row_purge_poss_sec(): New function, to check if it is possible to
purge a secondary index record.  Refactored from
row_purge_remove_sec_if_poss_low().

row_purge_remove_sec_if_poss_nonbuffered(): Rename to
row_purge_remove_sec_if_poss_tree().  Remove the parameter mode
(always use BTR_MODIFY_TREE).  Use row_purge_poss_sec().

row_purge_remove_sec_if_poss_low(): Rename to
row_purge_remove_sec_if_poss_leaf().  Remove the parameter mode
(always use BTR_MODIFY_LEAF). Let row_search_index_entry() do all the
hard work.

btr_cur_t: Add purge_node, which will be needed by
btr_cur_search_to_nth_level() for BTR_DELETE.  Replace the flag value
BTR_CUR_ABORTED with BTR_CUR_DELETE_REF and BTR_CUR_DELETE_FAILED.

enum row_search_result, row_search_index_entry(): Replace
ROW_NOT_IN_POOL with ROW_NOT_DELETED_REF and ROW_NOT_DELETED.

btr_cur_search_to_nth_level(): Remove BTR_WATCH_LEAF.  As a side
effect, the adaptive hash index can be used in purge as well.  If
BTR_DELETE cannot be buffered, attempt btr_cur_optimistic_delete().
Either way, check row_purge_poss_sec().  Move the code to set
cursor->ibuf_count to get rid of another if (height == 0)
check. Eliminate the label loop_end.  Do not call ibuf_should_try()
twice.

ibuf_should_try(): Now that the successful calls to this function will
be halved, halve the magic constant that ibuf_flush_count will be
compared to, accordingly.

The changes regarding ibuf_should_try() were merged from branches/zip
r3515.

rb://60 approved by Heikki over IM
2008-12-12 12:59:48 +00:00
btr branches/innodb+: Clean up the buffering of purges. Instead of 2008-12-12 12:59:48 +00:00
buf branches/innodb+: When buffering an insert, notify the buffer pool 2008-12-10 15:20:17 +00:00
data branches/innodb+: Merge revisions 3152:3177 from branches/zip: 2008-11-21 14:28:42 +00:00
dict branches/innodb+: Merge revisions 2986:3152 from branches/zip: 2008-11-20 11:53:53 +00:00
dyn
eval
fil
fsp
fut
ha
handler branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
ibuf branches/innodb+: ibuf_insert_low(): Combine two nested if statements 2008-12-12 11:20:43 +00:00
include branches/innodb+: Clean up the buffering of purges. Instead of 2008-12-12 12:59:48 +00:00
lock branches/innodb+: Merge revisions 2867:2986 from branches/zip: 2008-11-11 10:21:16 +00:00
log branches/innodb+ rb://48 2008-11-11 10:31:51 +00:00
mach
mem
mtr
mysql-test branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
os branches/innodb+: Merge revisions 3459:3498 from branches/zip: 2008-12-11 15:18:37 +00:00
page branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
pars
que
read
rem branches/innodb+: Merge revisions 2986:3152 from branches/zip: 2008-11-20 11:53:53 +00:00
row branches/innodb+: Clean up the buffering of purges. Instead of 2008-12-12 12:59:48 +00:00
scripts branches/innodb+: Merge revisions 2867:2986 from branches/zip: 2008-11-11 10:21:16 +00:00
srv branches/innodb+: Merge revisions 3459:3498 from branches/zip: 2008-12-11 15:18:37 +00:00
sync
thr
trx branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
usr
ut
win-plugin branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
ChangeLog branches/innodb+: Merge revisions 3312:3459 from branches/zip: 2008-12-09 11:09:06 +00:00
CMakeLists.txt branches/innodb+: Merge revisions 2867:2986 from branches/zip: 2008-11-11 10:21:16 +00:00
compile-innodb
compile-innodb-debug
ha_innodb.def branches/innodb+: Merge revisions 2867:2986 from branches/zip: 2008-11-11 10:21:16 +00:00
Makefile.am
plug.in
revert_gen.sh
setup.sh