mariadb/myisam
unknown a7919a11fc bug#2831 - --extenral-locking does not fully work with --myisam-recover.
Changed the semantics of open_count so that it is decremented
at every unlock (if it was incremented due to data changes).
So it indicates a crash, if it is non-zero after a lock.
The table will then be repaired.


myisam/mi_close.c:
  bug#2831 - --extenral-locking does not fully work with --myisam-recover.
  To avoid flushing the open_count at every unlock,
  we need to do so at close at least.
myisam/mi_locking.c:
  bug#2831 - --extenral-locking does not fully work with --myisam-recover.
  open_count is now decremented at unlock (from a writelock) with
  mi_unlock_open_count(). After every new lock the state is read
  from the index file and the open_count checked. If not zero,
  another server must have crashed, so the table is marked as crashed.
  In certain situations the decremented open_count mut be flushed to
  the index file. I tried to keep these extra flushes as seldom as possible.
sql/ha_myisam.cc:
  bug#2831 - --extenral-locking does not fully work with --myisam-recover.
  Added code to repair the table, if it is marked crashed after
  successful locking and the --myisam-recover option is set.
sql/sql_table.cc:
  This does not really belong to the bugfix for #2831.
  But it was detected during fixing the external locking.
2004-09-18 20:33:39 +02:00
..
.cvsignore
ChangeLog
ft_boolean_search.c backport bug#2708 fix from 4.1 2004-05-27 21:14:59 +02:00
ft_eval.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
ft_eval.h Update copyright 2001-12-06 14:10:51 +02:00
ft_nlq_search.c made fulltext search aware of concurrent inserts 2004-04-05 11:36:30 +02:00
ft_parser.c backport bug#2708 fix from 4.1 2004-05-27 21:14:59 +02:00
ft_static.c --ft_stopword_file command-line option 2003-01-23 13:20:37 +01:00
ft_stem.c Update copyright 2001-12-06 14:10:51 +02:00
ft_stopwords.c remove warnings 2003-01-27 17:52:55 +01:00
ft_test1.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
ft_test1.h Update copyright 2001-12-06 14:10:51 +02:00
ft_update.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
ftdefs.h backport from 4.1: 2004-05-10 12:39:01 +02:00
fulltext.h
make-ccc
Makefile.am - renamed myisam/ft_dump to myisam/mysam_ftdump and added it to the 2004-02-03 22:25:02 +01:00
mi_cache.c enadling out-of-cache reads for shared IO_CACHE 2003-01-26 14:20:43 +01:00
mi_changed.c Update copyright 2001-12-06 14:10:51 +02:00
mi_check.c Fix for #3067 2004-03-24 19:04:57 +04:00
mi_checksum.c Update copyright 2001-12-06 14:10:51 +02:00
mi_close.c bug#2831 - --extenral-locking does not fully work with --myisam-recover. 2004-09-18 20:33:39 +02:00
mi_create.c Allow keys with 0 segements in MyISAM 2004-03-26 14:44:52 +02:00
mi_dbug.c Fixed bug in last push found by valgrind 2003-12-14 08:12:07 -05:00
mi_delete.c Update copyright 2001-12-06 14:10:51 +02:00
mi_delete_all.c truncate both MYI and MYD files on DELETE FROM table; to avoid warnings on CHECK TABLE 2002-10-22 15:16:16 +00:00
mi_delete_table.c Update copyright 2001-12-06 14:10:51 +02:00
mi_dynrec.c A DBUG_RETURN to match a DBUG_ENTER 2004-05-06 22:55:30 +02:00
mi_extra.c Call my_sync() after all data is written to .frm file 2003-11-02 15:55:02 +02:00
mi_info.c Fixed memory allocation in Unique to not allocate too much memory 2003-06-26 07:56:55 +03:00
mi_key.c bug#4816. index search for NULL in blob 2004-08-01 13:26:01 +02:00
mi_locking.c bug#2831 - --extenral-locking does not fully work with --myisam-recover. 2004-09-18 20:33:39 +02:00
mi_log.c Update copyright 2001-12-06 14:10:51 +02:00
mi_open.c Fix autoincrement for signed columns (Bug #1366) 2003-12-12 22:26:58 +02:00
mi_packrec.c Correct fix for buffer overruns for compressed blobs. 2003-09-24 14:33:23 +03:00
mi_page.c Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
mi_panic.c Update copyright 2001-12-06 14:10:51 +02:00
mi_range.c Fixed problem when comparing a key for a multi-byte-character set. (bug 152) 2003-04-27 22:12:08 +03:00
mi_rename.c Update copyright 2001-12-06 14:10:51 +02:00
mi_rfirst.c Update copyright 2001-12-06 14:10:51 +02:00
mi_rkey.c Fix reference to not initialized memory 2003-04-30 10:15:09 +03:00
mi_rlast.c Update copyright 2001-12-06 14:10:51 +02:00
mi_rnext.c
mi_rnext_same.c post-merge fix 2002-12-04 10:47:51 +01:00
mi_rprev.c
mi_rrnd.c Update copyright 2001-12-06 14:10:51 +02:00
mi_rsame.c Update copyright 2001-12-06 14:10:51 +02:00
mi_rsamepos.c Update copyright 2001-12-06 14:10:51 +02:00
mi_scan.c Update copyright 2001-12-06 14:10:51 +02:00
mi_search.c Fixed some DBUG_PRINT format problems. 2004-07-26 15:32:52 +02:00
mi_static.c Big code cleanup/review before 4.0.2 release. 2002-06-11 11:20:31 +03:00
mi_statrec.c Ensure that share->tot_locks s updated correctly 2002-06-17 12:34:19 +03:00
mi_test1.c Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
mi_test2.c Fix for service names on windows; Now we always put the service name last when we create a service 2003-11-17 13:06:32 +02:00
mi_test3.c Fixes for Netware 2003-01-28 08:38:28 +02:00
mi_test_all.res
mi_test_all.sh Add detection of in_addr_t 2003-08-28 06:08:17 +03:00
mi_unique.c Merge with 3.23 2003-01-16 20:47:46 +02:00
mi_update.c Fixed rare bug in MYISAM introduced in 4.0.3 where the index file header was not updated directly after an UPDATE of split dynamic rows. 2003-09-05 06:42:55 +03:00
mi_write.c Fixed some varnings from valgrind 2003-08-20 16:25:44 +03:00
myisam_ftdump.c Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
myisamchk.c Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
myisamdef.h two bugs in parallel repair fixed 2004-01-20 09:05:37 +01:00
myisamlog.c Fixed a very rarge memory overrun bug in the myisamlog program. 2003-08-26 22:02:58 +03:00
myisampack.c Added global my_getopt_error_reporter function pointer which is 2004-08-31 21:27:58 +05:00
NEWS
sort.c Fix to remove compiler warnings 2003-04-28 19:05:57 +03:00
test_pack
TODO