diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2022-04-18 21:45:16 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2022-04-18 21:45:16 +0300 |
commit | 9e314fcf6e666ce6fdbdd8ca1ae23d6c4b389b21 (patch) | |
tree | 52eb0d7829416b4f524ca13a9645fc8ac42a6b94 /client/mysqldump.c | |
parent | 1866fb053755153b34a2609d5976d8bb3992d85c (diff) | |
download | mariadb-git-9e314fcf6e666ce6fdbdd8ca1ae23d6c4b389b21.tar.gz |
MDEV-27749 Binary changes for --as-of and --tz-utc options
Help text update for --as-of and --tz-utc.
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r-- | client/mysqldump.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index a73f06d592a..c8c8076b3ac 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -279,7 +279,9 @@ static struct my_option my_long_options[] = &opt_slave_apply, &opt_slave_apply, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"as-of", OPT_ASOF_TIMESTAMP, - "Dump system versioned table as of specified timestamp.", + "Dump system versioned table(s) as of specified timestamp. " + "Argument is interpreted according to the --tz-utc setting. " + "Table structures are always dumped as of current timestamp.", &opt_asof_timestamp, &opt_asof_timestamp, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, {"character-sets-dir", OPT_CHARSETS_DIR, "Directory for character set files.", (char **)&charsets_dir, @@ -577,7 +579,8 @@ static struct my_option my_long_options[] = &opt_dump_triggers, &opt_dump_triggers, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0}, {"tz-utc", OPT_TZ_UTC, - "SET TIME_ZONE='+00:00' at top of dump to allow dumping of TIMESTAMP data when a server has data in different time zones or data is being moved between servers with different time zones.", + "Set connection time zone to UTC before commencing the dump and add " + "SET TIME_ZONE=´+00:00´ to the top of the dump file.", &opt_tz_utc, &opt_tz_utc, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0}, #ifndef DONT_ALLOW_USER_CHANGE {"user", 'u', "User for login if not current user.", |