mirror of https://gitee.com/bigwinds/arangodb
fix
This commit is contained in:
parent
40e6f12811
commit
9458fa1ce5
|
@ -1770,7 +1770,7 @@ int TRI_RenameCollectionVocBase (TRI_vocbase_t* vocbase, TRI_vocbase_col_t* coll
|
|||
// collection is loaded
|
||||
// .............................................................................
|
||||
|
||||
else if (collection->_status != TRI_VOC_COL_STATUS_LOADED || collection->_status != TRI_VOC_COL_STATUS_UNLOADING) {
|
||||
else if (collection->_status == TRI_VOC_COL_STATUS_LOADED || collection->_status == TRI_VOC_COL_STATUS_UNLOADING) {
|
||||
res = TRI_RenameCollection(&collection->_collection->base, newName);
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
|
|
Loading…
Reference in New Issue