Commit 3877c091 authored by lzhou/root@dev3-138.dev.cn.tlan's avatar lzhou/root@dev3-138.dev.cn.tlan

Merge dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug19787

into  dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/bug19787
parents 9438d22c e7d5d11e
......@@ -6699,7 +6699,13 @@ void Dbdih::execCREATE_FRAGMENTATION_REQ(Signal * signal)
}
}
}
ndbrequire(count == (2U + (1 + noOfReplicas) * noOfFragments));
if(count != (2U + (1 + noOfReplicas) * noOfFragments)){
char buf[255];
BaseString::snprintf(buf, sizeof(buf),
"Illegal configuration change: NoOfReplicas."
" Can't be applied online ");
progError(__LINE__, NDBD_EXIT_INVALID_CONFIG, buf);
}
CreateFragmentationConf * const conf =
(CreateFragmentationConf*)signal->getDataPtrSend();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment