mariadb/include
Michael Widenius 6da8ac5f71 Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK"
This makes it possible to do safe multi volume snapshots as long as one snapshots the volume with the transaction logs last.


include/mysql_com.h:
  Added REFRESH_CHECKPOINT
mysql-test/r/flush.result:
  Added test of new FLUSH TABLES syntax + calls to checkpoint_status handler calls
mysql-test/t/flush.test:
  Added test of new FLUSH TABLES syntax + calls to checkpoint_status handler calls
sql/handler.cc:
  Added code to call checkpoint_state for all handlertons that supports it
sql/handler.h:
  Added new checkpoint_state() handlerton call to temporarly disable checkpoints.
sql/lex.h:
  Added CHECKPOINT keyword
sql/sql_yacc.yy:
  Added support for FLUSH TABLES WITH READ LOCK AND DISABLE CHECKPOINT
storage/maria/ha_maria.cc:
  Added handlerton call to disable checkpoints.
storage/maria/ma_checkpoint.c:
  Don't do checkpoint if checkpoints are disabled.
storage/maria/ma_static.c:
  Added maria_checkpoint_disabled
storage/maria/maria_def.h:
  Added maria_checkpoint_disabled
storage/xtradb/handler/ha_innodb.cc:
  Added handlerton call to disable checkpoints.
storage/xtradb/include/log0log.h:
  Added option to log_checkpoint() to allow one to ignore not critical checkpoints during the time checkpoints are disabled.
storage/xtradb/log/log0log.c:
  Added code to allow one to disable checkpoints during a FLUSH TABLES ... DISABLE CHECKPOINT
  This was done by adding a new argument to log_checkpoint() which tells us when the checkpoint is called by srv_master_thread (which are safe to ignore)
storage/xtradb/srv/srv0srv.c:
  Tell log_checkpoint() that checkpoints from srv_master_thread() are safe to ignore (will just delay recovery time a bit).
2011-04-28 18:02:26 +03: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
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_compiler.h
my_dbug.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
wqueue.h