You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2023/06/30 02:22:58 UTC
[doris] branch master updated: [Fix](Snapshot) Shoule use false instead of 0 in while loop (#20966)
This is an automated email from the ASF dual-hosted git repository.
zhangchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2fcb0e090b [Fix](Snapshot) Shoule use false instead of 0 in while loop (#20966)
2fcb0e090b is described below
commit 2fcb0e090bc5b63d5dd7800c28fad2b55b791287
Author: abmdocrt <Yu...@gmail.com>
AuthorDate: Fri Jun 30 10:22:51 2023 +0800
[Fix](Snapshot) Shoule use false instead of 0 in while loop (#20966)
---
be/src/olap/snapshot_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/snapshot_manager.cpp b/be/src/olap/snapshot_manager.cpp
index d19af18cca..c9bc76ae68 100644
--- a/be/src/olap/snapshot_manager.cpp
+++ b/be/src/olap/snapshot_manager.cpp
@@ -603,7 +603,7 @@ Status SnapshotManager::_create_snapshot_files(const TabletSharedPtr& ref_tablet
break;
}
- } while (0);
+ } while (false);
if (!res.ok()) {
LOG(WARNING) << "fail to make snapshot, try to delete the snapshot path. path="
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org