From 71e9a8d9d0eb33c8b0c5a2ecb63f1b180ebea9ac Mon Sep 17 00:00:00 2001 From: nikitamikhaylov Date: Tue, 8 Dec 2020 18:39:49 +0300 Subject: [PATCH] build --- src/Functions/{fromMJD.cpp => fromModifiedJulianDay.cpp} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/Functions/{fromMJD.cpp => fromModifiedJulianDay.cpp} (97%) diff --git a/src/Functions/fromMJD.cpp b/src/Functions/fromModifiedJulianDay.cpp similarity index 97% rename from src/Functions/fromMJD.cpp rename to src/Functions/fromModifiedJulianDay.cpp index 3f8251e2caf..18d0b299c2e 100644 --- a/src/Functions/fromMJD.cpp +++ b/src/Functions/fromModifiedJulianDay.cpp @@ -208,14 +208,14 @@ namespace DB "The argument of function " + getName() + " must be integral", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT); } - DataTypePtr baseType = std::make_shared(); + DataTypePtr base_type = std::make_shared(); if constexpr (nullOnErrors) { - return std::make_shared(baseType); + return std::make_shared(base_type); } else { - return baseType; + return base_type; } }