Skip to content

Commit 32839c4

Browse files
committed
MDEV-19867: postfix - syntax spelling ALTER TABLE
Fixes: 5c5ea59
1 parent 98a7fa0 commit 32839c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/mysqldump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ static void dump_table(const char *table, const char *db, const uchar *hash_key,
44074407
if (!opt_xml && opt_copy_s3_tables && (ignore_flag & IGNORE_S3_TABLE))
44084408
{
44094409
DYNAMIC_STRING alter_string;
4410-
init_dynamic_string_checked(&alter_string, "ATER TABLE ", 1024, 1024);
4410+
init_dynamic_string_checked(&alter_string, "ALTER TABLE ", 1024, 1024);
44114411
dynstr_append_checked(&alter_string, opt_quoted_table);
44124412
dynstr_append_checked(&alter_string, " ENGINE=S3;\n");
44134413
fputs(alter_string.str, md_result_file);

mysql-test/suite/s3/mysqldump.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CREATE TABLE `t1` (
2424
) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
2525
/*!40101 SET character_set_client = @saved_cs_client */;
2626
INSERT INTO `t1` VALUES (1,1),(2,2),(3,3),(4,4);
27-
ATER TABLE `t1` ENGINE=S3;
27+
ALTER TABLE `t1` ENGINE=S3;
2828
#####
2929
# mysqldump with --copy-s3-tables=1 XML
3030
###

0 commit comments

Comments
 (0)