summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
commit504a3b32f6d752dbf44b8a67001b572cffefb9bb (patch)
treeb4f9dbf83c2437feb21f27c7b8ed7f897b0e84d6 /client/mysqldump.c
parent43fa8e0b8f3bae1ff8493cfd3adb39443da6a809 (diff)
parent133c2129cdbb77d8fd55fb303d6f73e1cd3c025c (diff)
downloadmariadb-git-504a3b32f6d752dbf44b8a67001b572cffefb9bb.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 26dfa64fed2..1ba7545fac3 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,
@@ -581,7 +583,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.",