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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8387d000
Commit
8387d000
authored
Nov 14, 2004
by
guilhem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allowing --master-data without arg to be compatible with < 4.1.8 mysqldump.
parent
08c5b245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
client/mysqldump.c
client/mysqldump.c
+5
-1
No files found.
client/mysqldump.c
View file @
8387d000
...
...
@@ -254,7 +254,7 @@ static struct my_option my_long_options[] =
"any action on logs will happen at the exact moment of the dump."
"Option automatically turns --lock-tables off."
,
(
gptr
*
)
&
opt_master_data
,
(
gptr
*
)
&
opt_master_data
,
0
,
GET_UINT
,
REQUIRED
_ARG
,
0
,
0
,
MYSQL_OPT_MASTER_DATA_COMMENTED_SQL
,
0
,
0
,
0
},
GET_UINT
,
OPT
_ARG
,
0
,
0
,
MYSQL_OPT_MASTER_DATA_COMMENTED_SQL
,
0
,
0
,
0
},
{
"max_allowed_packet"
,
OPT_MAX_ALLOWED_PACKET
,
""
,
(
gptr
*
)
&
opt_max_allowed_packet
,
(
gptr
*
)
&
opt_max_allowed_packet
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
24
*
1024
*
1024
,
4096
,
...
...
@@ -548,6 +548,10 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
case
'?'
:
usage
();
exit
(
0
);
case
(
int
)
OPT_MASTER_DATA
:
if
(
!
argument
)
/* work like in old versions */
opt_master_data
=
MYSQL_OPT_MASTER_DATA_EFFECTIVE_SQL
;
break
;
case
(
int
)
OPT_OPTIMIZE
:
extended_insert
=
opt_drop
=
opt_lock
=
quick
=
create_options
=
opt_disable_keys
=
lock_tables
=
opt_set_charset
=
1
;
...
...
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