mariadb/myisam
unknown 4a1d076342 Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
CHECK TABLE did temporarily clear the auto_increment value.
It runs with a read lock, allowing other readers and
conurrent INSERTs. The latter could grab the wrong value
in this moment.

CHECK TABLE does no longer modify the auto_increment value.
Not even for a short moment.


myisam/mi_check.c:
  Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
  In chk_key() and update_auto_increment_key() in the repair_only
  case, do not touch info->s->state.auto_increment. Especially
  chk_key() can be called from CHECK TABLE with a read lock.
  Concurrent inserts could grab a temporarily changed value.
  Added minor style fixes.
myisam/mi_key.c:
  Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
  Changed update_auto_increment() to retrieve_auto_increment()
  to reflect that it does not change the auto_increment by
  itself any more. This must now be done externally if needed.
myisam/mi_update.c:
  Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
  Added explicit update of info->s->state.auto_increment
  after the change from update_auto_increment() to
  retrieve_auto_increment().
myisam/mi_write.c:
  Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
  Added explicit update of info->s->state.auto_increment
  after the change from update_auto_increment() to
  retrieve_auto_increment().
myisam/myisamdef.h:
  Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment
  Changed update_auto_increment() to retrieve_auto_increment()
  to reflect that it does not change the auto_increment by
  itself any more. This must now be done externally if needed.
2006-05-31 10:22:44 +02:00
..
ftbench
.cvsignore
ChangeLog
ft_boolean_search.c Several fixes revelaled by Intel compiler. 2005-09-23 16:47:08 +03:00
ft_eval.c
ft_eval.h
ft_nlq_search.c Fix for BUG#13582. Theoretically possible to try to overallocate RAM in some fulltext queries. 2005-09-28 19:03:35 -05:00
ft_parser.c Merge serg.mylan:/usr/home/serg/Abk/mysql-4.1 2005-11-26 20:23:20 +01:00
ft_static.c
ft_stem.c
ft_stopwords.c
ft_test1.c
ft_test1.h
ft_update.c Merge april.(none):/home/svoj/devel/mysql/BUG16489/mysql-4.1 2006-01-23 20:07:26 +04:00
ftdefs.h
fulltext.h
make-ccc
Makefile.am
mi_cache.c
mi_changed.c
mi_check.c Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment 2006-05-31 10:22:44 +02:00
mi_checksum.c
mi_close.c
mi_create.c locking issues, 2005-12-23 20:50:28 +01:00
mi_dbug.c Merge mysql.com:/home/mydev/mysql-4.1-4100 2005-09-23 17:27:07 +02:00
mi_delete.c Merge mysql.com:/home/mydev/mysql-4.1-bug14980 2006-03-10 15:06:04 +01:00
mi_delete_all.c CHECKSUM TABLE now allows concurrent inserts 2005-09-27 20:11:09 +02:00
mi_delete_table.c
mi_dynrec.c
mi_extra.c Merge mysql.com:/home/jimw/my/mysql-4.1-clean 2005-08-31 19:12:16 -07:00
mi_info.c
mi_key.c Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment 2006-05-31 10:22:44 +02:00
mi_keycache.c
mi_locking.c
mi_log.c
mi_open.c Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-09-30 13:56:32 +03:00
mi_packrec.c Merge april.(none):/home/svoj/devel/mysql/BUG17917/mysql-4.1 2006-04-15 16:08:03 +05:00
mi_page.c
mi_panic.c
mi_preload.c Bug#10932 - Building server with key limit of 128, makes test cases fail 2005-07-19 14:13:56 +02:00
mi_range.c
mi_rename.c
mi_rfirst.c
mi_rkey.c Merge mysql.com:/users/lthalmann/bkroot/mysql-4.1 2005-10-10 17:50:19 +02:00
mi_rlast.c
mi_rnext.c
mi_rnext_same.c Bug#14980 - COUNT(*) incorrect on MyISAM table with certain INDEX 2006-03-10 15:03:04 +01:00
mi_rprev.c
mi_rrnd.c
mi_rsame.c Bug#10932 - Building server with key limit of 128, makes test cases fail 2005-07-19 14:13:56 +02:00
mi_rsamepos.c Bug#10932 - Building server with key limit of 128, makes test cases fail 2005-07-19 14:13:56 +02:00
mi_scan.c
mi_search.c Manual merge 2006-03-30 17:14:55 +04:00
mi_static.c Merge mysql.com:/usr/home/ram/work/4.1.b4214 2005-09-05 18:28:56 +05:00
mi_statrec.c
mi_test1.c Several fixes revelaled by Intel compiler. 2005-09-23 16:47:08 +03:00
mi_test2.c Bug#12920 - key_read_requests counter appears to re-set 2005-09-14 13:18:16 +02:00
mi_test3.c
mi_test_all.res
mi_test_all.sh
mi_unique.c Merge mysql.com:/home/mydev/mysql-4.1-bug14980 2006-03-10 15:06:04 +01:00
mi_update.c Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment 2006-05-31 10:22:44 +02:00
mi_write.c Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment 2006-05-31 10:22:44 +02:00
myisam_ftdump.c myisam_ftdump.c: 2006-04-23 19:26:56 -05:00
myisamchk.c Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 2005-12-04 15:34:47 +02:00
myisamdef.h Bug#19604 - CHECK TABLE with concurrent INSERT can reset auto_increment 2006-05-31 10:22:44 +02:00
myisamlog.c BUG#18160 - Memory-/HEAP Table endless growing indexes 2006-04-19 15:13:50 +05:00
myisampack.c many warnings (practically safe but annoying) corrected 2006-01-03 17:54:54 +01:00
NEWS
rt_index.c
rt_index.h
rt_key.c
rt_key.h
rt_mbr.c
rt_mbr.h
rt_split.c Added some missing casts and changed a define for alloca(). 2005-07-20 13:27:57 +03:00
rt_test.c
sort.c many warnings (practically safe but annoying) corrected 2006-01-03 17:54:54 +01:00
sp_defs.h
sp_key.c Several fixes revelaled by Intel compiler. 2005-09-23 16:47:08 +03:00
sp_test.c
test_pack
TODO