This is an automated email from the ASF dual-hosted git repository.

lihaopeng 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 ce14183c3a [fix](compile) fix GHA mac ut compile failure (#24738)
ce14183c3a is described below

commit ce14183c3a4eec5ad7361cfa3ddcf3b37b6fc74f
Author: zclllyybb <zhaochan...@selectdb.com>
AuthorDate: Thu Sep 21 21:00:23 2023 +0800

    [fix](compile) fix GHA mac ut compile failure (#24738)
---
 be/src/util/timezone_utils.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/util/timezone_utils.cpp b/be/src/util/timezone_utils.cpp
index e110f36544..a90f30820a 100644
--- a/be/src/util/timezone_utils.cpp
+++ b/be/src/util/timezone_utils.cpp
@@ -266,7 +266,7 @@ void TimezoneUtils::load_timezones_to_cache() {
 
 bool TimezoneUtils::find_cctz_time_zone(const std::string& timezone, 
cctz::time_zone& ctz) {
     zone_cache_rw_lock.lock_shared();
-    if (auto it = zone_cache->find(timezone); it != nullptr) {
+    if (auto it = zone_cache->find(timezone); it != zone_cache->end()) {
         ctz = it->second;
         zone_cache_rw_lock.unlock_shared();
         return true;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to