mariadb/include
guilhem@mysql.com 6cd218cc56 WL#1596 "make mysqldump --master-data --single-transaction able to do online dump of InnoDB AND report reliable
binlog coordinates corresponding to the dump".
The good news is that now mysqldump can be used to get an online backup of InnoDB *which works for
point-in-time recovery and replication slave creation*. Formerly, mysqldump --master-data --single-transaction
used to call in fact mysqldump --master-data, so the dump was not an online dump (took big lock all time of dump).
The only lock which is now taken in this patch is at the beginning of the dump: mysqldump does:
FLUSH TABLES WITH READ LOCK; START TRANSACTION WITH CONSISTENT SNAPSHOT; SHOW MASTER STATUS; UNLOCK TABLES;
so the lock time is in fact the time FLUSH TABLES WITH READ LOCK takes to return (can be 0 or very long, if
a table is undergoing a huge update).
I have done some more minor changes listed in the paragraph of mysqldump.c.
WL#2237 "WITH CONSISTENT SNAPSHOT clause for START TRANSACTION":
it's a START TRANSACTION which additionally starts a consistent read on all
capable storage engine (i.e. InnoDB). So, can serve as a replacement for
BEGIN; SELECT * FROM some_innodb_table LIMIT 1; which starts a consistent read too.
2004-11-10 17:56:45 +01:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
config-netware.h Always enable HAVE_COMPRESS on netware 2004-05-28 01:02:20 +03:00
config-os2.h Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) 2003-08-11 23:43:01 +04:00
config-win.h Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
errmsg.h client.c, libmysql.c: 2004-06-30 22:18:41 -05:00
ft_global.h ft_boolean_syntax made changeable 2004-02-16 18:53:00 +01:00
hash.h After merge fixes 2004-10-07 10:50:13 +03:00
heap.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
help_end.h Added patches from Novell 2004-05-25 22:00:14 +03:00
help_start.h Added patches from Novell 2004-05-25 22:00:14 +03:00
keycache.h WL#1700 - Properly count key_blocks_used and key_blocks_current. 2004-05-03 15:55:21 +02:00
m_ctype.h Bug #6040 can't retrieve records with umlaut characters in case insensitive manner 2004-10-18 15:23:24 +05:00
m_string.h If the system has 64 bit "long", then "long long" does not add new 2004-08-30 17:41:41 +02:00
Makefile.am Small build fix. 2004-06-25 10:30:24 +04:00
md5.h Update copyright 2001-12-06 14:10:51 +02:00
merge.h Update copyright 2001-12-06 14:10:51 +02:00
my_aes.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
my_alarm.h Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.h Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
my_base.h WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables. 2004-09-13 14:46:38 +02:00
my_bitmap.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
my_dbug.h Added missing my_time.c file to mysqlclient project 2004-06-28 00:42:02 +03:00
my_dir.h Fix for Bug #1952 2003-12-12 03:39:29 +03:00
my_getopt.h Merge with 4.0 2004-09-01 04:12:09 +03:00
my_global.h Fix for Bug#6024 "Test "client_test" fails in 4.1.6-gamma build (1)": 2004-10-15 03:54:40 +04:00
my_handler.h BTREE-indexes in HEAP tables can now be used to optimize ORDER BY 2004-03-25 15:05:01 +02:00
my_list.h one more name clash in public includes fixed 2004-11-02 22:46:55 +01:00
my_net.h 4 small items in this: 2003-10-31 23:20:23 +01:00
my_no_pthread.h CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS 2003-11-18 13:47:27 +02:00
my_nosys.h Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.h To allow compilation on Tru64, the MySQL code should not mess 2004-10-04 11:45:07 +02:00
my_semaphore.h more #ifdef THREAD added 2003-04-30 12:32:43 +02:00
my_sys.h true,false -> TRUE, FALSE 2004-10-14 18:03:46 +03:00
my_time.h A fix and test case for Bug#6049 "Loss of sign when using prepared 2004-10-16 00:12:59 +04:00
my_tree.h after merge fixes 2004-03-18 00:09:13 +02:00
my_xml.h Portability fixes 2003-02-28 14:32:40 +02:00
myisam.h Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
myisammrg.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
myisampack.h Casted all macro arguments, 2004-07-28 21:46:22 +02:00
mysql.h Remove support for obsolete 4.1.1 prepared statements C API names: 2004-11-01 19:01:50 +03:00
mysql_com.h Remove usage of !$ from mysql-tests 2004-11-02 20:13:27 +02:00
mysql_embed.h Merge with 4.0, mainly to get changes to windows project files 2004-05-20 00:54:52 +03:00
mysql_time.h Cleanup in mysql_time.h/my_time.h headers. The first is used in mysql.h, 2004-08-05 14:16:43 -07:00
mysql_version.h.in Merge with 4.0 to get fixes for Windows project files 2004-05-25 02:47:25 +03:00
mysqld_error.h WL#1596 "make mysqldump --master-data --single-transaction able to do online dump of InnoDB AND report reliable 2004-11-10 17:56:45 +01:00
mysys_err.h - Added missing documentation to some mysql.cc options. 2004-01-14 04:58:37 +02:00
nisam.h Update copyright 2001-12-06 14:10:51 +02:00
queues.h fix_max_connections to resize alarm_queue (Bug #1435) 2003-10-06 14:11:16 +02:00
raid.h Lots of code fixes to the replication code (especially the binary logging and index log file handling) 2002-08-08 03:12:02 +03:00
rijndael.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sha1.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sql_common.h Remove stale declaration, fix a typo in comment. 2004-10-15 22:03:11 +04:00
sql_state.h sql_state.h: 2004-06-12 14:37:41 -05:00
sslopt-case.h fixed so that --ssl and --skip-ssl works with the MySQL clients. 2002-09-17 23:46:53 +03:00
sslopt-longopts.h consistency fix - all help texts for command-line options should end with a dot. 2003-06-13 10:59:02 +02:00
sslopt-vars.h Update copyright 2001-12-06 14:10:51 +02:00
t_ctype.h Update copyright 2001-12-06 14:10:51 +02:00
thr_alarm.h Added patches from Novell 2004-05-25 22:00:14 +03:00
thr_lock.h Merge with 4.0 2003-03-16 19:17:54 +02:00
typelib.h Bug#6202: ENUMs are not case sensitive even if declared BINARY 2004-10-25 17:51:26 +05:00
violite.h Merge with 4.0.21 2004-06-18 04:38:58 +03:00