Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
32839c4d
Commit
32839c4d
authored
Oct 04, 2021
by
Daniel Black
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-19867: postfix - syntax spelling ALTER TABLE
Fixes:
5c5ea59b
parent
98a7fa0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client/mysqldump.c
client/mysqldump.c
+1
-1
mysql-test/suite/s3/mysqldump.result
mysql-test/suite/s3/mysqldump.result
+1
-1
No files found.
client/mysqldump.c
View file @
32839c4d
...
@@ -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
,
"A
L
TER 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
);
...
...
mysql-test/suite/s3/mysqldump.result
View file @
32839c4d
...
@@ -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;
A
L
TER TABLE `t1` ENGINE=S3;
#####
#####
# mysqldump with --copy-s3-tables=1 XML
# mysqldump with --copy-s3-tables=1 XML
###
###
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment