mariadb/storage/maria
Michael Widenius 9d68ccdeb8 Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired.
Removed wrong call to translog_buffer_unlock() that caused 'unlocking not locked mutex' failure in Aria log handler.

extra/replace.c:
  Updated call to my_redel()
include/maria.h:
  Updated prototype for maria_change_to_newfile
include/my_sys.h:
  Updated prototypes
  Added my_create_backup_name
include/myisam.h:
  Updated prototypes
include/myisamchk.h:
  Added 'backup_time' to st_handler_check_param to be able to generate same name for backuped data and index file
mysys/my_redel.c:
  Added time_t option to my_redel() to be able to generate same backup extensions for many files
sql/handler.cc:
  Added start_time to st_ha_check_opt
sql/handler.h:
  Added start_time to HA_CHECK_OPT
sql/mysqld.cc:
  Added option BACKUP_ALL to --myisam-recover
storage/maria/ha_maria.cc:
  Remember start time for repair
storage/maria/ma_check.c:
  Use remembered start time for backup file names
  Removed some dead code
storage/maria/ma_loghandler.c:
  Removed wrong call to translog_buffer_unlock() that caused 'unlocking not locked mutex' failure in log handler.
storage/maria/maria_chk.c:
  Removed dead code (O_NEW_INDEX was never set)
  Report if table was 'crashed on repair'
storage/maria/maria_pack.c:
  Updated parameters to my_redel()
storage/myisam/ha_myisam.cc:
  Added recover option BACKUP_ALL to get a backup of the index file before it's repaired.
  Print information to log if we make a backup of data as part of repair.
storage/myisam/ha_myisam.h:
  Added HA_RECOVER_FULL_BACKUP
storage/myisam/mi_check.c:
  Use remembered start time for backup file names
  Added mi_make_backup_of_index()
storage/myisam/myisamchk.c:
  Removed dead code (O_NEW_INDEX was never set)
  Report if table was 'crashed on repair'
storage/myisam/myisampack.c:
  Updated call to my_redel()
2010-11-07 14:25:29 +02:00
..
unittest Fixed valgrind errors and compiler warnings discovered by buildbot 2010-08-20 10:29:26 +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 Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired. 2010-11-07 14:25:29 +02: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 Fixed compiler & valgrind warnings from my previous push. 2010-11-03 14:14:02 +02:00
ma_blockrec.c When scanning pages, stop when you are at 'data_file_length'. 2010-11-04 16:57:30 +02:00
ma_blockrec.h Fixed compiler & valgrind warnings from my previous push. 2010-11-03 14:14:02 +02:00
ma_cache.c Fixed compiler warnings 2008-01-13 00:30:38 +02:00
ma_changed.c GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_check.c Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired. 2010-11-07 14:25:29 +02: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 Trivial optimizations and cleanups 2010-08-12 20:55:00 +03: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 LP#605798 RQG: Table corruption after Maria engine recovery - "Wrong data in bitmap" 2010-08-11 00:58:08 +03: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 #endif fixed. 2010-11-02 21:01:25 +02:00
ma_delete.c Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED" 2010-10-13 18:15:43 +03: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 Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_eval.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
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 GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_test1.c Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_test1.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
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 Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED" 2010-10-13 18:15:43 +03:00
ma_key_recover.h Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +03: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 Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
ma_loghandler.c Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired. 2010-11-07 14:25:29 +02:00
ma_loghandler.h Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED" 2010-10-13 18:15:43 +03: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 #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02: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 Fixed bug that 'maria_read_log -a' didn't set max_trid when reparing tables. 2010-09-06 02:25:44 +03: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 Fixed Aria recovery bug: 2010-09-13 10:15:52 +03:00
ma_recovery.h Remove not used files 2010-08-05 18:56:31 +03: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 Added --sync-sys=0 option for mysqld to skip sync() calls for faster testing 2010-08-09 20:05:42 +03: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 Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +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 Fixed bug that 'maria_read_log -a' didn't set max_trid when reparing tables. 2010-09-06 02:25:44 +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 Fixes for bugs found by running test case for LP#608369 "Page: 1 Found wrong page type 0' on CHECK TABLE EXTENDED" 2010-10-13 18:15:43 +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 Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
ma_state.h Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
ma_static.c Added verbose mode to recovery 2010-08-18 10:52:57 +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 Fixed valgrind errors and compiler warnings discovered by buildbot 2010-08-20 10:29:26 +03: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 Fixed bug that 'maria_read_log -a' didn't set max_trid when reparing tables. 2010-09-06 02:25:44 +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 Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
Makefile.am Fixes for binary distribution in tar file 2009-10-23 19:48:54 +03:00
maria_chk.c Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired. 2010-11-07 14:25:29 +02:00
maria_def.h When scanning pages, stop when you are at 'data_file_length'. 2010-11-04 16:57:30 +02:00
maria_ftdump.c Merge with MySQL 5.1.49 2010-08-02 12:01:24 +03:00
maria_pack.c Added option BACKUP_ALL to mysqld --myisam-recover to also get a backup of the index file before it's repaired. 2010-11-07 14:25:29 +02:00
maria_read_log.c Added verbose mode to recovery 2010-08-18 10:52:57 +03:00
maria_rename.sh Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
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 Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
trnman.c Fix for LP#634943 "marked as crashed", "zerofilling" and "wrong data in bitmap" when recovering Aria tables 2010-09-10 23:27:26 +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