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
9c015f2a
Commit
9c015f2a
authored
Apr 11, 2005
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysqldev@production.mysql.com:my/mysql-5.0-build
into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents
9b4f1060
da1d3030
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
server-tools/instance-manager/commands.cc
server-tools/instance-manager/commands.cc
+12
-6
server-tools/instance-manager/instance.cc
server-tools/instance-manager/instance.cc
+2
-2
server-tools/instance-manager/options.cc
server-tools/instance-manager/options.cc
+1
-1
No files found.
server-tools/instance-manager/commands.cc
View file @
9c015f2a
...
@@ -294,13 +294,19 @@ int Show_instance_options::do_command(struct st_net *net,
...
@@ -294,13 +294,19 @@ int Show_instance_options::do_command(struct st_net *net,
char
*
tmp_option
,
*
option_value
;
char
*
tmp_option
,
*
option_value
;
get_dynamic
(
&
(
instance
->
options
.
options_array
),
(
gptr
)
&
tmp_option
,
i
);
get_dynamic
(
&
(
instance
->
options
.
options_array
),
(
gptr
)
&
tmp_option
,
i
);
option_value
=
strchr
(
tmp_option
,
'='
);
option_value
=
strchr
(
tmp_option
,
'='
);
/* split the option string into two parts */
/* split the option string into two parts
if it has a value
*/
*
option_value
=
0
;
position
=
0
;
position
=
0
;
store_to_string
(
&
send_buff
,
tmp_option
+
2
,
&
position
);
if
(
option_value
!=
NULL
)
store_to_string
(
&
send_buff
,
option_value
+
1
,
&
position
);
{
/* join name and the value into the same option again */
*
option_value
=
0
;
*
option_value
=
'='
;
store_to_string
(
&
send_buff
,
tmp_option
+
2
,
&
position
);
store_to_string
(
&
send_buff
,
option_value
+
1
,
&
position
);
/* join name and the value into the same option again */
*
option_value
=
'='
;
}
else
store_to_string
(
&
send_buff
,
tmp_option
+
2
,
&
position
);
if
(
send_buff
.
is_error
()
||
if
(
send_buff
.
is_error
()
||
my_net_write
(
net
,
send_buff
.
buffer
,
(
uint
)
position
))
my_net_write
(
net
,
send_buff
.
buffer
,
(
uint
)
position
))
goto
err
;
goto
err
;
...
...
server-tools/instance-manager/instance.cc
View file @
9c015f2a
...
@@ -191,8 +191,8 @@ bool Instance::is_running()
...
@@ -191,8 +191,8 @@ bool Instance::is_running()
MYSQL
mysql
;
MYSQL
mysql
;
uint
port
=
0
;
uint
port
=
0
;
const
char
*
socket
=
NULL
;
const
char
*
socket
=
NULL
;
const
char
*
password
=
"
321rarepassword213
"
;
const
char
*
password
=
"
check_connection
"
;
const
char
*
username
=
"
645rareusername945
"
;
const
char
*
username
=
"
MySQL_Instance_Manager
"
;
const
char
*
access_denied_message
=
"Access denied for user"
;
const
char
*
access_denied_message
=
"Access denied for user"
;
bool
return_val
;
bool
return_val
;
...
...
server-tools/instance-manager/options.cc
View file @
9c015f2a
...
@@ -130,7 +130,7 @@ static void version()
...
@@ -130,7 +130,7 @@ static void version()
}
}
static
const
char
*
default_groups
[]
=
{
"m
ysql"
,
"m
anager"
,
0
};
static
const
char
*
default_groups
[]
=
{
"manager"
,
0
};
static
void
usage
()
static
void
usage
()
...
...
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