mariadb/include
Michael Widenius e4e85cd2ef Fixed lp:925377 "Querying myisam table metadata while 'alter table..enable keys' is running may corrupt the table"
Fixed wrong mutex order bug in Aria when flush_log_for_bitmap() was called when table is not yet marked for change.

include/my_base.h:
  Added flag that table is opened only for status
mysql-test/r/myisam-big.result:
  Test case for lp:925377
mysql-test/t/myisam-big.test:
  Test case for lp:925377
sql/sql_base.cc:
  If thd->version == 0 (happens only when we are opening a table that is flushed under  MYSQL_LOCK_IGNORE_FLUSH), open the table in HA_OPEN_FOR_STATUS mode
storage/maria/ma_bitmap.c:
  Fixed wrong mutex order bug in Aria when flush_log_for_bitmap() was called when table is not yet marked for change.
storage/maria/ma_dbug.c:
  Ignore last_version <= 1 as these are either flushed or only opened for status
storage/maria/ma_open.c:
  Use last_version=1 as a marker that table was opened with HA_OPEN_FOR_STATUS.
  In this case we just open a new version of the table in read only mode.
storage/myisam/mi_create.c:
  Update prototype
storage/myisam/mi_dbug.c:
  Ignore last_version <= 1 as these are either flushed or only opened for status
storage/myisam/mi_open.c:
  Use last_version=1 as a marker that table was opened with HA_OPEN_FOR_STATUS.
  If HA_OPEN_FOR_STATUS is used, we will not assert if there is an old not-to-be-used version of the table existing.
  In this case we just open a new version of the table in read only mode.
storage/myisam/myisamdef.h:
  Updated prototype
2012-02-28 23:18:52 +02:00
..
atomic
mysql
.cvsignore
base64.h
CMakeLists.txt
config-netware.h
config-win.h
decimal.h
errmsg.h
ft_global.h
hash.h
heap.h
help_end.h
help_start.h
keycache.h
lf.h
m_ctype.h
m_string.h
ma_dyncol.h
Makefile.am
maria.h
my_aes.h
my_alarm.h
my_alloc.h
my_atomic.h
my_attribute.h
my_base.h
my_bit.h
my_bitmap.h
my_compare.h
my_compiler.h
my_dbug.h
my_decimal_limits.h
my_dir.h
my_getopt.h
my_global.h
my_handler.h
my_libwrap.h
my_list.h
my_md5.h
my_net.h
my_no_pthread.h
my_nosys.h
my_pthread.h
my_stacktrace.h
my_sys.h
my_time.h
my_tree.h
my_trie.h
my_uctype.h
my_user.h
my_valgrind.h
my_vle.h
my_xml.h
myisam.h
myisamchk.h
myisammrg.h
myisampack.h
mysql.h
mysql.h.pp
mysql_com.h
mysql_embed.h
mysql_time.h
mysql_version.h.in
mysys_err.h
queues.h
rijndael.h
service_versions.h
sha1.h
sql_common.h
sslopt-case.h
sslopt-longopts.h
sslopt-vars.h
t_ctype.h
thr_alarm.h
thr_lock.h
typelib.h
violite.h
waiting_threads.h
welcome_copyright_notice.h
wqueue.h