From f92210d0fb6973b2c8607ef2068fa87ef5a8b141 Mon Sep 17 00:00:00 2001 From: Tema Novikov Date: Thu, 28 Feb 2019 09:47:48 +0300 Subject: [PATCH] Set update_time on full executable dictionary update This fixes issue #4524. --- dbms/src/Dictionaries/ExecutableDictionarySource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbms/src/Dictionaries/ExecutableDictionarySource.cpp b/dbms/src/Dictionaries/ExecutableDictionarySource.cpp index 8f6ae2912f4..dc1a2d744a1 100644 --- a/dbms/src/Dictionaries/ExecutableDictionarySource.cpp +++ b/dbms/src/Dictionaries/ExecutableDictionarySource.cpp @@ -88,6 +88,7 @@ std::string ExecutableDictionarySource::getUpdateFieldAndDate() } else { + update_time = std::chrono::system_clock::now(); std::string str_time("\"0000-00-00 00:00:00\""); ///for initial load return command + " " + update_field + " " + str_time; }