提交 f2f7ede9 编写于 作者: L lihui

[TD-59]

上级 33afff86
...@@ -405,6 +405,12 @@ void *mgmtVgroupActionDelete(void *row, char *str, int size, int *ssize) { ...@@ -405,6 +405,12 @@ void *mgmtVgroupActionDelete(void *row, char *str, int size, int *ssize) {
void *mgmtVgroupActionUpdate(void *row, char *str, int size, int *ssize) { void *mgmtVgroupActionUpdate(void *row, char *str, int size, int *ssize) {
mgmtVgroupActionReset(row, str, size, ssize); mgmtVgroupActionReset(row, str, size, ssize);
SVgObj *pVgroup = (SVgObj *)row; SVgObj *pVgroup = (SVgObj *)row;
if (pVgroup->idPool == NULL) {
mgmtVgroupActionInsert(row, str, size, ssize);
return NULL;
}
int oldTables = taosIdPoolMaxSize(pVgroup->idPool); int oldTables = taosIdPoolMaxSize(pVgroup->idPool);
SDbObj *pDb = mgmtGetDb(pVgroup->dbName); SDbObj *pDb = mgmtGetDb(pVgroup->dbName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册