mirror of
https://github.com/MariaDB/server.git
synced 2025-10-21 08:47:42 +03:00
Merge dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0/bug20575
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.1/mysql-5.1-bug20575 storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp: Auto merged storage/ndb/src/mgmclient/CommandInterpreter.cpp: Auto merged storage/ndb/src/mgmsrv/MgmtSrvr.cpp: Auto merged
This commit is contained in:
@@ -1031,7 +1031,7 @@ CommandInterpreter::execute_impl(const char *_line, bool interactive)
|
||||
int node_id;
|
||||
if (convert(command_list[pos].c_str(), node_id))
|
||||
{
|
||||
if (node_id <= 0) {
|
||||
if (node_id <= 0 || node_id > MAX_NODES) {
|
||||
ndbout << "Invalid node ID: " << command_list[pos].c_str()
|
||||
<< "." << endl;
|
||||
DBUG_RETURN(true);
|
||||
|
Reference in New Issue
Block a user