mariadb/storage/maria
Michael Widenius d2f8b7d045 Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery
More DBUG_PRINT (to simplify future debugging)
Aria: Added STATE_IN_REPAIR, which is set on start of repair. This allows us to see if 'crashed' flag was set intentionally.
Aria: Some trivial speedup optimization
Aria: Better warning if table was marked crashed by unfinnished repair


mysql-test/lib/v1/mysql-test-run.pl:
  Fix so one can run RQG
mysql-test/suite/maria/r/maria-recovery2.result:
  Update for new error message.
mysys/stacktrace.c:
  Fixed compiler warning
storage/maria/ha_maria.cc:
  More DBUG_PRINT
  Added STATE_IN_REPAIR flag, which is set on start of repair. This allows us to see if 'crashed' flag was set intentionally.
  Don't log query for dropping temporary table.
storage/maria/ha_maria.h:
  Added prototype for drop_table()
storage/maria/ma_blockrec.c:
  More DBUG_PRINT
  Make read_long_data() inline for most cases. (Trivial speedup optimization)
storage/maria/ma_check.c:
  Better warning if table was marked crashed by unfinnished repair
storage/maria/ma_open.c:
  More DBUG_PRINT
storage/maria/ma_recovery.c:
  Give warning if found crashed table.
  Changed warning for tables that can't be opened.
storage/maria/ma_recovery_util.c:
  Write warnings to DBUG file
storage/maria/maria_chk.c:
  Added STATE_IN_REPAIR flag, which is set on start of repair. This allows us to see if 'crashed' flag was set intentionally.
storage/maria/maria_def.h:
  Added maria_mark_in_repair(x)
storage/maria/maria_read_log.c:
  Added option: --character-sets-dir
storage/maria/trnman.c:
  By default set min_read_from to max value.
  This allows us to remove TRN:s from rows during recovery to get more space.
  This fixes bug LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery
2010-07-30 10:45:27 +03:00
..
unittest Don't flush pinned pages in checkpoint (fix for my last push) 2010-06-16 00:39:28 +03:00
CMakeLists.txt Implement an NSIS based installer 2010-06-25 15:09:45 +02:00
file_formats.txt Fixed compiler warnings 2008-02-22 17:22:56 +02:00
ft_maria.c Fixed some compiler warnings and errors in test suite found by buildbot 2010-01-27 23:53:08 +02:00
ha_maria.cc Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ha_maria.h Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
lockman.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
lockman.h solaris fixes 2007-12-18 23:22:55 +01:00
ma_bitmap.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_blockrec.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ma_blockrec.h Fixed some bugs in the Maria storage engine 2010-06-14 01:13:32 +03:00
ma_cache.c Fixed compiler warnings 2008-01-13 00:30:38 +02:00
ma_changed.c
ma_check.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ma_check_standalone.h Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_checkpoint.c Comments. Take bitmap mutex lock when changing bitmap.changed. 2009-02-09 22:02:04 +01:00
ma_checkpoint.h WL#3071 Maria checkpoint, WL#3072 Maria recovery 2007-11-16 17:09:51 +01:00
ma_checksum.c Injecting more "const" declarations into code which does not change 2008-04-03 15:40:25 +02:00
ma_close.c When one does a drop table, the indexes are not flushed to disk before drop anymore (with MyISAM/Maria) 2010-02-10 21:06:24 +02:00
ma_commit.c post-review fixes 2009-01-15 22:27:36 +01:00
ma_commit.h - WL#3239 "log CREATE TABLE in Maria" 2007-06-22 14:49:37 +02:00
ma_control_file.c Fixed that packed transid can be compared byte per byte and we get them in increasing order 2008-11-04 12:54:04 +02:00
ma_control_file.h WL#4374 "Maria - force start if Recovery fails multiple times" 2008-06-02 22:53:25 +02:00
ma_create.c Fix for compiler warnings on windows 2010-01-14 18:51:00 +02:00
ma_dbug.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_delete.c Fix some compiler warnings seen in Buildbot. 2010-03-10 11:32:14 +01:00
ma_delete_all.c merge 2009-02-06 00:38:30 +02:00
ma_delete_table.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_dynrec.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_extra.c When one does a drop table, the indexes are not flushed to disk before drop anymore (with MyISAM/Maria) 2010-02-10 21:06:24 +02:00
ma_ft_boolean_search.c Fixes after comments from last push: 2009-11-30 15:36:06 +02:00
ma_ft_eval.c
ma_ft_eval.h
ma_ft_nlq_search.c Fixes after comments from last push: 2009-11-30 15:36:06 +02:00
ma_ft_parser.c Fixes after comments from last push: 2009-11-30 15:36:06 +02:00
ma_ft_stem.c
ma_ft_test1.c
ma_ft_test1.h
ma_ft_update.c Merge with mysql-maria 2009-01-30 23:55:42 +02:00
ma_ftdefs.h Fixes after comments from last push: 2009-11-30 15:36:06 +02:00
ma_fulltext.h Merge with mysql-maria 2009-01-30 23:55:42 +02:00
ma_info.c Changed all file names in maria to LEX_STRING and removed some calls to strlen() 2008-08-25 14:49:47 +03:00
ma_init.c Fixed some bugs in the Maria storage engine 2010-06-14 01:13:32 +03:00
ma_key.c WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
ma_key_recover.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
ma_key_recover.h Added count of my_sync calls (to SHOW STATUS) 2010-03-09 21:22:24 +02:00
ma_keycache.c Changed all file names in maria to LEX_STRING and removed some calls to strlen() 2008-08-25 14:49:47 +03:00
ma_locking.c When one does a drop table, the indexes are not flushed to disk before drop anymore (with MyISAM/Maria) 2010-02-10 21:06:24 +02:00
ma_loghandler.c Fix Windows compile 2010-04-09 11:05:23 +02:00
ma_loghandler.h Log queries to maria_log if compiled with EXTRA_DEBUG 2009-01-16 00:25:53 +02:00
ma_loghandler_lsn.h Fix for BUG#37876 "Importing Maria table from other server via binary copy does not work": 2008-07-09 11:02:27 +02:00
ma_open.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ma_packrec.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_page.c Added count of my_sync calls (to SHOW STATUS) 2010-03-09 21:22:24 +02:00
ma_pagecache.c Don't flush pinned pages in checkpoint (fix for my last push) 2010-06-16 00:39:28 +03:00
ma_pagecache.h _ma_bitmap_unpin_all() needs to unpin not-locked pages which were pinned by other threads 2008-10-14 17:18:14 +02:00
ma_pagecaches.c copyright and license info 2008-03-04 12:58:21 +01:00
ma_pagecrc.c We are now using Valgrind rather than purify, and have for quite some time. 2009-05-06 14:03:24 +02:00
ma_panic.c merge 2007-12-31 12:52:45 +01:00
ma_preload.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_range.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_recovery.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ma_recovery.h WL#4374 "Maria - force start if Recovery fails multiple times" 2008-06-02 22:53:25 +02:00
ma_recovery_util.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
ma_recovery_util.h WL#3072 - Maria Recovery 2008-01-17 23:59:32 +01:00
ma_rename.c Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_rfirst.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rkey.c Added count of my_sync calls (to SHOW STATUS) 2010-03-09 21:22:24 +02:00
ma_rlast.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rnext.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rnext_same.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_rprev.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rrnd.c Fixes for bugs found by maria.test and event*tests: 2007-08-21 20:54:11 +03:00
ma_rsame.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rsamepos.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rt_index.c Post-merge fixes 2009-09-15 15:22:39 +04:00
ma_rt_index.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_key.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_key.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_mbr.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_mbr.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_split.c Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_test.c Merge; No notable changes 2008-06-26 12:32:22 +03:00
ma_scan.c Fixed problems with ma_test2 and mi_test2 on high-byte-first system 2008-02-21 02:45:02 +02:00
ma_search.c Fixed compiler warnings and sporadic failures in test cases 2010-03-28 21:10:00 +03:00
ma_sort.c Remove compiler warnings (Including some warnings from -Wstrict-aliasing) 2009-11-30 01:08:56 +02:00
ma_sp_defs.h Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_sp_key.c Fixes for build errors under Windows and compiler warning under Linux 2008-06-26 17:10:11 +02:00
ma_sp_test.c After merge fixes. Applied changes made in myisam manually to maria. 2007-10-04 20:33:42 +03:00
ma_state.c Fixed compiler warnings 2010-06-16 01:00:51 +03:00
ma_state.h Fix for Bug#40311 Assert in MARIA_RECORD_POS during pushbuild 2 test: 2008-12-22 02:17:37 +02:00
ma_static.c Fixed some bugs in the Maria storage engine 2010-06-14 01:13:32 +03:00
ma_statrec.c Code cleanup: 2009-01-09 06:23:25 +02:00
ma_test1.c WL#3262 add mutex lock order checking to safemutex (also called safe_mutex_deadlock_detector) 2008-12-03 00:02:52 +02:00
ma_test2.c Merge with base MySQL-5.1-maria 2009-01-12 13:12:00 +02:00
ma_test3.c Removed compiler warnings 2010-01-06 23:27:53 +02:00
ma_test_all.res Fixes for redo/undo logging of key pages 2007-11-20 17:42:16 +02:00
ma_test_all.sh New version of ma_test_all 2008-01-08 22:21:28 +02:00
ma_test_big.sh UNDO of rows now puts back all part of the row on their original pages and positions 2007-12-30 22:40:03 +02:00
ma_test_force_start.pl Fix for BUG#42180 "Maria: maria-recovery-bitmap.test fails repeatedly" 2009-03-05 14:46:45 +01:00
ma_test_recovery Added versioning of row data 2008-04-10 05:26:36 +03:00
ma_unique.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_update.c Added ha_maria::is_changed() (needed for Query cache) 2008-11-01 01:14:58 +02:00
ma_write.c restore the unintentinally broken ABI 2010-07-23 22:37:21 +02:00
Makefile.am Fixes for binary distribution in tar file 2009-10-23 19:48:54 +03:00
maria_chk.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
maria_def.h Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
maria_ftdump.c Fixes after comments from last push: 2009-11-30 15:36:06 +02:00
maria_pack.c Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
maria_read_log.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
maria_rename.sh
plug.in Merge fixes. 2009-05-12 09:44:01 +03:00
tablockman.c Windows fixes 2008-01-10 13:21:53 +01:00
tablockman.h solaris fixes 2007-12-18 23:22:55 +01:00
test_pack
trnman.c Fix for LP#602604: RQG: ma_blockrec.c:6187: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed on Maria engine recovery 2010-07-30 10:45:27 +03:00
trnman.h merged 2009-01-16 17:18:17 +01:00
trnman_public.h merged 2009-01-16 17:18:17 +01:00