Commit 32839c4d authored by Daniel Black's avatar Daniel Black

MDEV-19867: postfix - syntax spelling ALTER TABLE

Fixes: 5c5ea59b
parent 98a7fa0c
...@@ -4407,7 +4407,7 @@ static void dump_table(const char *table, const char *db, const uchar *hash_key, ...@@ -4407,7 +4407,7 @@ static void dump_table(const char *table, const char *db, const uchar *hash_key,
if (!opt_xml && opt_copy_s3_tables && (ignore_flag & IGNORE_S3_TABLE)) if (!opt_xml && opt_copy_s3_tables && (ignore_flag & IGNORE_S3_TABLE))
{ {
DYNAMIC_STRING alter_string; DYNAMIC_STRING alter_string;
init_dynamic_string_checked(&alter_string, "ATER TABLE ", 1024, 1024); init_dynamic_string_checked(&alter_string, "ALTER TABLE ", 1024, 1024);
dynstr_append_checked(&alter_string, opt_quoted_table); dynstr_append_checked(&alter_string, opt_quoted_table);
dynstr_append_checked(&alter_string, " ENGINE=S3;\n"); dynstr_append_checked(&alter_string, " ENGINE=S3;\n");
fputs(alter_string.str, md_result_file); fputs(alter_string.str, md_result_file);
......
...@@ -24,7 +24,7 @@ CREATE TABLE `t1` ( ...@@ -24,7 +24,7 @@ CREATE TABLE `t1` (
) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1; ) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1;
/*!40101 SET character_set_client = @saved_cs_client */; /*!40101 SET character_set_client = @saved_cs_client */;
INSERT INTO `t1` VALUES (1,1),(2,2),(3,3),(4,4); INSERT INTO `t1` VALUES (1,1),(2,2),(3,3),(4,4);
ATER TABLE `t1` ENGINE=S3; ALTER TABLE `t1` ENGINE=S3;
##### #####
# mysqldump with --copy-s3-tables=1 XML # mysqldump with --copy-s3-tables=1 XML
### ###
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment