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
169adf95
Commit
169adf95
authored
Aug 29, 2006
by
gni/root@dev3-127.(none)
Browse files
Options
Browse Files
Download
Plain Diff
BUG#19873 Merge dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0-ndb-bj
into dev3-127.(none):/mnt/mysql/home/ngb/bug19873
parents
0a3778c0
28954111
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
ndb/src/mgmclient/CommandInterpreter.cpp
ndb/src/mgmclient/CommandInterpreter.cpp
+13
-2
No files found.
ndb/src/mgmclient/CommandInterpreter.cpp
View file @
169adf95
...
...
@@ -1028,6 +1028,12 @@ CommandInterpreter::execute_impl(const char *_line, bool interactive)
if
(
!
connect
(
interactive
))
DBUG_RETURN
(
true
);
if
(
ndb_mgm_check_connection
(
m_mgmsrv
))
{
disconnect
();
connect
();
}
if
(
strcasecmp
(
firstToken
,
"SHOW"
)
==
0
)
{
Guard
g
(
m_print_mutex
);
executeShow
(
allAfterFirstToken
);
...
...
@@ -1640,11 +1646,16 @@ CommandInterpreter::executeShow(char* parameters)
void
CommandInterpreter
::
executeConnect
(
char
*
parameters
,
bool
interactive
)
{
BaseString
*
basestring
=
NULL
;
disconnect
();
if
(
!
emptyString
(
parameters
))
{
m_constr
=
BaseString
(
parameters
).
trim
().
c_str
();
basestring
=
new
BaseString
(
parameters
);
m_constr
=
basestring
->
trim
().
c_str
();
}
connect
(
interactive
);
connect
();
if
(
basestring
!=
NULL
)
delete
basestring
;
}
//*****************************************************************************
...
...
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