1
0
Fork 0
This commit is contained in:
a-brandt 2012-11-26 17:28:58 +01:00
parent 40e6f12811
commit 9458fa1ce5
1 changed files with 1 additions and 1 deletions

View File

@ -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) {