mariadb/client
Kristian Nielsen a985ac3aff MDEV-6336: mysqldump --master-data does not work with GTID setups
MDEV-6344: mysqldump issues FLUSH TABLES, which gets written into binlog and replicated

Add a --gtid option (for compatibility, the original behaviour is preserved
when --gtid is not used).

With --gtid, --master-data and --dump-slave output the GTID position (the
old-style file/offset position is still output, but commented out). Also, a
CHANGE MASTER TO master_use_gtid=slave_pos is output to ensure a provisioned
slave is configured in GTID, as requested.

Without --gtid, the GTID position is still output, if available, but commented
out.

Also fix MDEV-6344, to avoid FLUSH TABLES getting into the binlog. Otherwise a
mysqldump on a slave server will silently inject a GTID which does not exist
on the master, which is highly undesirable.

Also fix an incorrect error handling around obtaining binlog position with
--master-data (was probably unlikely to trigger in most cases).
2014-07-09 13:36:28 +02:00
..
async_example.c MWL#192: non-blocking client API, after-review fixes. 2012-01-06 12:43:18 +01:00
client_priv.h MDEV-6336: mysqldump --master-data does not work with GTID setups 2014-07-09 13:36:28 +02:00
CMakeLists.txt MDEV-5620 CMake option to compile against an external PCRE library 2014-03-04 01:22:53 +01:00
completion_hash.cc Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 13:29:12 +01:00
completion_hash.h Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
echo.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
get_password.c mysql-5.5.32 merge 2013-07-16 19:09:54 +02:00
my_readline.h MDEV-4297 mysql --binary-mode 2013-06-10 21:45:30 +02:00
mysql.cc 5.5 merge 2014-05-09 12:35:11 +02:00
mysql_plugin.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
mysql_upgrade.c 5.5 merge 2014-05-09 12:35:11 +02:00
mysqladmin.cc 10.0-base merge 2014-02-03 15:22:39 +01:00
mysqlbinlog.cc 10.0-base merge 2014-02-03 15:22:39 +01:00
mysqlcheck.c 5.5 merge 2014-02-25 16:04:35 +01:00
mysqldump.c MDEV-6336: mysqldump --master-data does not work with GTID setups 2014-07-09 13:36:28 +02:00
mysqlimport.c 10.0-base merge 2014-02-03 15:22:39 +01:00
mysqlshow.c 10.0-base merge 2014-02-03 15:22:39 +01:00
mysqlslap.c 10.0-base merge 2014-02-03 15:22:39 +01:00
mysqltest.cc MDEV-6364: Migrate a slave from MySQL 5.6 to MariaDB 10 break replication 2014-06-24 14:43:08 +02:00
readline.cc MDEV-4297 mysql --binary-mode 2013-06-10 21:45:30 +02:00
sql_string.cc.dontuse mysql-5.5.31 merge 2013-05-07 13:05:09 +02:00
sql_string.h.dontuse mysql-5.5.32 merge 2013-07-16 19:09:54 +02:00