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
8ade1b08
Commit
8ade1b08
authored
Dec 08, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added possibility for comment into management client
added sleep command to management client all for testing purposes
parent
07a9baad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+7
-1
No files found.
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
8ade1b08
...
@@ -499,7 +499,8 @@ CommandInterpreter::execute_impl(const char *_line)
...
@@ -499,7 +499,8 @@ CommandInterpreter::execute_impl(const char *_line)
line
=
my_strdup
(
_line
,
MYF
(
MY_WME
));
line
=
my_strdup
(
_line
,
MYF
(
MY_WME
));
My_auto_ptr
<
char
>
ptr
(
line
);
My_auto_ptr
<
char
>
ptr
(
line
);
if
(
emptyString
(
line
))
{
if
(
emptyString
(
line
)
||
line
[
0
]
==
'#'
)
{
DBUG_RETURN
(
true
);
DBUG_RETURN
(
true
);
}
}
...
@@ -516,6 +517,11 @@ CommandInterpreter::execute_impl(const char *_line)
...
@@ -516,6 +517,11 @@ CommandInterpreter::execute_impl(const char *_line)
executeConnect
(
allAfterFirstToken
);
executeConnect
(
allAfterFirstToken
);
DBUG_RETURN
(
true
);
DBUG_RETURN
(
true
);
}
}
else
if
(
strcasecmp
(
firstToken
,
"SLEEP"
)
==
0
)
{
if
(
allAfterFirstToken
)
sleep
(
atoi
(
allAfterFirstToken
));
DBUG_RETURN
(
true
);
}
else
if
((
strcasecmp
(
firstToken
,
"QUIT"
)
==
0
||
else
if
((
strcasecmp
(
firstToken
,
"QUIT"
)
==
0
||
strcasecmp
(
firstToken
,
"EXIT"
)
==
0
||
strcasecmp
(
firstToken
,
"EXIT"
)
==
0
||
strcasecmp
(
firstToken
,
"BYE"
)
==
0
)
&&
strcasecmp
(
firstToken
,
"BYE"
)
==
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