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
59b274ea
Commit
59b274ea
authored
Dec 29, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents
0c83f07c
b859c192
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
server-tools/instance-manager/commands.cc
server-tools/instance-manager/commands.cc
+3
-4
server-tools/instance-manager/instance_options.cc
server-tools/instance-manager/instance_options.cc
+3
-3
No files found.
server-tools/instance-manager/commands.cc
View file @
59b274ea
...
...
@@ -266,7 +266,7 @@ int Show_instance_options::do_command(struct st_net *net,
if
(
instance
->
options
.
mysqld_path
!=
NULL
)
{
position
=
0
;
store_to_string
(
&
send_buff
,
(
char
*
)
"mysqld
_
path"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
"mysqld
-
path"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
instance
->
options
.
mysqld_path
,
&
position
);
...
...
@@ -286,7 +286,7 @@ int Show_instance_options::do_command(struct st_net *net,
if
(
instance
->
options
.
mysqld_user
!=
NULL
)
{
position
=
0
;
store_to_string
(
&
send_buff
,
(
char
*
)
"admin
_
user"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
"admin
-
user"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
instance
->
options
.
mysqld_user
,
&
position
);
...
...
@@ -297,7 +297,7 @@ int Show_instance_options::do_command(struct st_net *net,
if
(
instance
->
options
.
mysqld_password
!=
NULL
)
{
position
=
0
;
store_to_string
(
&
send_buff
,
(
char
*
)
"admin
_
password"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
"admin
-
password"
,
&
position
);
store_to_string
(
&
send_buff
,
(
char
*
)
instance
->
options
.
mysqld_password
,
&
position
);
...
...
@@ -408,7 +408,6 @@ int Stop_instance::execute(struct st_net *net, ulong connection_id)
stop_guard
(
instance
);
if
((
err_code
=
instance
->
stop
()))
return
err_code
;
printf
(
"instance was stopped
\n
"
);
net_send_ok
(
net
,
connection_id
);
return
0
;
}
...
...
server-tools/instance-manager/instance_options.cc
View file @
59b274ea
...
...
@@ -101,9 +101,9 @@ int Instance_options::add_option(const char* option)
{
"--datadir="
,
10
,
&
mysqld_datadir
,
SAVE_WHOLE_AND_ADD
},
{
"--bind-address="
,
15
,
&
mysqld_bind_address
,
SAVE_WHOLE_AND_ADD
},
{
"--pid-file="
,
11
,
&
mysqld_pid_file
,
SAVE_WHOLE_AND_ADD
},
{
"--mysqld
_
path="
,
14
,
&
mysqld_path
,
SAVE_VALUE
},
{
"--admin
_
user="
,
13
,
&
mysqld_user
,
SAVE_VALUE
},
{
"--admin
_
password="
,
17
,
&
mysqld_password
,
SAVE_VALUE
},
{
"--mysqld
-
path="
,
14
,
&
mysqld_path
,
SAVE_VALUE
},
{
"--admin
-
user="
,
13
,
&
mysqld_user
,
SAVE_VALUE
},
{
"--admin
-
password="
,
17
,
&
mysqld_password
,
SAVE_VALUE
},
{
"--guarded"
,
9
,
&
is_guarded
,
SAVE_WHOLE
},
{
NULL
,
0
,
NULL
,
0
}
};
...
...
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