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 9649c3e3b3 branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise,
transactions that are started before the rollback of incomplete
transactions has finished may have an inconsistent view of the
secondary indexes.

dict_index_is_sec_or_ibuf(): Auxiliary function for controlling
updates and checks of PAGE_MAX_TRX_ID: check whether an index is a
secondary index or the insert buffer tree.

page_set_max_trx_id(), page_update_max_trx_id(),
lock_rec_insert_check_and_lock(),
lock_sec_rec_modify_check_and_lock(), btr_cur_ins_lock_and_undo(),
btr_cur_upd_lock_and_undo(): Add the parameter mtr.

page_set_max_trx_id(): Allow mtr to be NULL.  When mtr==NULL, do not
attempt to write to the redo log.  This only occurs when creating a
page or reorganizing a compressed page.  In these cases, the
PAGE_MAX_TRX_ID will be set correctly during the application of redo
log records, even though there is no explicit log record about it.

btr_discard_only_page_on_level(): Preserve PAGE_MAX_TRX_ID.  This
function should be unreachable, though.

btr_cur_pessimistic_update(): Update PAGE_MAX_TRX_ID.

Add some assertions for checking that PAGE_MAX_TRX_ID is set on all
secondary index leaf pages.

rb://115 tested by Michael, fixes Issue #211
2009-05-19 18:59:07 +00:00
btr branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
buf branches/zip: Remove bogus out: comments of functions returning void. 2009-05-19 07:00:51 +00:00
data branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
dict branches/zip: Merge revisions 4746:4976 from branches/5.1: 2009-05-13 11:49:38 +00:00
dyn branches/zip: 2009-02-17 08:15:06 +00:00
eval branches/zip: 2009-02-17 08:15:06 +00:00
fil branches/zip: Add proper comments to some file page accessors. 2009-05-19 09:05:50 +00:00
fsp branches/zip: univ.i: Define REFMAN as the base URL of the 2009-04-16 12:02:27 +00:00
fut branches/zip: 2009-02-17 08:15:06 +00:00
ha branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
handler branches/zip: Merge revisions 4976:4994 from branches/5.1: 2009-05-14 11:31:43 +00:00
ibuf branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
include branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
lock branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
log branches/zip: Distinguish temporary tables in MLOG_FILE_CREATE. 2009-04-29 19:23:27 +00:00
mach branches/zip: 2009-02-17 09:50:12 +00:00
mem branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mtr branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
mysql-test branches/zip: Merge revisions 4976:4994 from branches/5.1: 2009-05-14 11:31:43 +00:00
os branches/zip: os_thread_get_curr_id(), os_thread_get_curr(): 2009-05-19 06:04:04 +00:00
page branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
pars branches/zip: Add missing out: comments to nullary functions. 2009-05-19 06:30:02 +00:00
que branches/zip: 2009-02-17 10:01:41 +00:00
read branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
rem branches/zip: Adjust r4673 as in the merge to branches/6.0 -r4676. 2009-04-07 12:19:31 +00:00
row branches/zip: row_update_prebuilt_trx(): Correct bogus comment. 2009-05-19 08:41:32 +00:00
scripts branches/zip: scripts/install_innodb_plugins_win.sql: New script, 2008-10-31 12:21:43 +00:00
srv branches/zip: Add missing out: comments to nullary functions. 2009-05-19 06:30:02 +00:00
sync branches/zip: Add missing out: comments to nullary functions. 2009-05-19 06:30:02 +00:00
thr branches/zip: 2009-02-17 10:09:16 +00:00
trx branches/zip: Introduce the logical type names trx_id_t, roll_ptr_t, 2009-04-23 05:32:36 +00:00
usr branches/zip: 2009-02-17 10:12:56 +00:00
ut branches/zip: ut0auxconf_have_solaris_atomics.c: Get the 2009-05-19 09:04:58 +00:00
win-plugin branches/zip: remove statically linked libraries from mysql 2009-04-14 13:47:31 +00:00
ChangeLog branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, 2009-05-19 18:59:07 +00:00
CMakeLists.txt branches/zip: Cosmetic fixes. 2009-04-20 12:11:38 +00:00
compile-innodb branches/zip: 2009-02-17 10:30:55 +00:00
compile-innodb-debug branches/zip: 2009-02-17 10:30:55 +00:00
COPYING branches/zip: 2009-02-17 07:06:07 +00:00
COPYING.Google branches/zip: 2009-02-20 21:29:32 +00:00
ha_innodb.def branches/zip: ChangeLog, ha_innodb.def: Set svn:eol-style native 2008-10-30 10:46:21 +00:00
Makefile.am branches/zip: Merge 2423:2437 from branches/5.1: 2008-04-30 16:59:16 +00:00
plug.in branches/zip: 2009-04-17 21:31:34 +00:00
revert_gen.sh branches/zip: Merge revisions 265:459 from trunk. 2006-04-12 09:32:17 +00:00
setup.sh branches/zip: 2009-02-26 07:21:20 +00:00