summaryrefslogtreecommitdiff
path: root/ndb/src/mgmclient
diff options
context:
space:
mode:
authorunknown <gni/root@dev3-127.(none)>2006-08-29 13:31:29 +0800
committerunknown <gni/root@dev3-127.(none)>2006-08-29 13:31:29 +0800
commit49d46e0cc09f31048d84883592db97bbbbda0933 (patch)
tree1511eec0a8ad6693272642b1b7c803cacdb273e0 /ndb/src/mgmclient
parent25968b7bd2b515d4add30abcd66bd44d4923f6be (diff)
downloadmariadb-git-49d46e0cc09f31048d84883592db97bbbbda0933.tar.gz
merge from ndb-5.0-ndb and ndb-5.0-ndb-bj
ndb/src/mgmclient/CommandInterpreter.cpp: connect() function adds a parameter in CommandInterpreter.cpp.
Diffstat (limited to 'ndb/src/mgmclient')
-rw-r--r--ndb/src/mgmclient/CommandInterpreter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/mgmclient/CommandInterpreter.cpp b/ndb/src/mgmclient/CommandInterpreter.cpp
index a85e7f75ccb..e65e554010c 100644
--- a/ndb/src/mgmclient/CommandInterpreter.cpp
+++ b/ndb/src/mgmclient/CommandInterpreter.cpp
@@ -1031,7 +1031,7 @@ CommandInterpreter::execute_impl(const char *_line, bool interactive)
if (ndb_mgm_check_connection(m_mgmsrv))
{
disconnect();
- connect();
+ connect(interactive);
}
if (strcasecmp(firstToken, "SHOW") == 0) {
@@ -1653,7 +1653,7 @@ CommandInterpreter::executeConnect(char* parameters, bool interactive)
basestring= new BaseString(parameters);
m_constr= basestring->trim().c_str();
}
- connect();
+ connect(interactive);
if (basestring != NULL)
delete basestring;
}