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 ba78ee0d47 branches/zip: In the rollback of incomplete transactions after crash
recovery, tolerate clustered index records whose externally stored
columns have not been written.  This should remove the assertion failures
that were reported as Mantis issue#58, issue#62, issue#64.

trx_is_recv(): New function: TRUE if this transaction is rolling back
an incomplete transaction in crash recovery.

enum trx_rbmode: Rollback modes: no rollback, normal rollback, crash recovery.

btr_cur_pessimistic_delete(), btr_free_externally_stored_field(),
btr_rec_free_externally_stored_fields():
Replace the ibool parameter with enum trx_rbmode.

btr_free_externally_stored_field(): If field_ref is zero, return
but assert ut_a(rbmode == RB_RECOVERY).  Unless InnoDB has crashed
while inserting a clustered index record, field_ref should not be zero.

btr_rec_free_updated_extern_fields(): Add the parameter enum trx_rbmode.

btr_cur_pessimistic_update(): Pass the rbmode parameter to
btr_rec_free_updated_extern_fields().

row_undo_ins(), row_undo_mod_upd_del_sec(): If row_build_index_entry()
fails, assert trx_is_recv() and skip this secondary index.

row_undo_mod_upd_del_sec(): Empty the heap at the end of each loop
iteration in order to conserve memory and to reduce the number of
low-level memory allocations.
2008-08-06 08:48:34 +00:00
btr branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
buf branches/zip: Improve the diagnostics for tracking down issue#63 and issue#65. 2008-08-06 08:44:17 +00:00
data branches/zip: Implement the configuration parameter and settable global 2008-03-10 11:05:32 +00:00
dict branches/zip: Merge 2524:2537 from branches/5.1: 2008-07-15 17:38:53 +00:00
dyn branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
eval branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
fil branches/zip: 2008-05-16 14:41:18 +00:00
fsp branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
fut branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
ha branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
handler branches/zip: 2008-07-03 06:41:16 +00:00
ibuf branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
include branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
lock branches/zip: Merge 2489:2524 from branches/5.1: 2008-07-01 06:53:40 +00:00
log branches/zip: Rename ib_ulonglong to ib_uint64_t and ib_longlong to ib_int64_t. 2008-03-17 14:19:04 +00:00
mach branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
mem branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
mtr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
mysql-test branches/zip: The test for issue#36 assumed that AUTOCOMMIT=OFF. Add an 2008-07-21 08:43:54 +00:00
os branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
page branches/zip: Always display a newline after ut_print_buf(stderr, ...). 2008-08-06 08:10:21 +00:00
pars branches/zip: make_flex.sh, lexyy.c: Remove some GCC warnings about unused 2008-02-07 10:03:54 +00:00
que branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
read branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
rem branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
row branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
scripts Rename install_dynamic.sql to install_innodb_plugins.sql 2008-04-30 07:02:16 +00:00
srv branches/zip: internal mantis issue#49 2008-06-18 15:45:34 +00:00
sync branches/zip: Add a clarifying comment to the insert buffer mutex/lock 2008-06-17 19:32:18 +00:00
thr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
trx branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
usr branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
ut branches/zip: Merge 2437:2485 from branches/5.1: 2008-06-06 15:24:58 +00:00
ChangeLog branches/zip: 2008-06-09 10:27:39 +00:00
CMakeLists.txt branches/zip: Merge 2295:2367 from branches/5.1. 2008-03-17 14:09:44 +00:00
compile-innodb branches/zip: Merge revisions 767:789 from trunk. 2006-09-04 19:47:47 +00:00
compile-innodb-debug branches/zip: Merge revisions 767:789 from trunk. 2006-09-04 19:47:47 +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: Merge 2423:2437 from branches/5.1: 2008-04-30 16:59:16 +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: Merge 2015:2093 from trunk. 2007-11-16 13:57:27 +00:00