From 0477e74f42b9d2cc9056574b01f02e82016a0a52 Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 4 Apr 2022 19:41:54 +0200 Subject: [PATCH] Get rid of caps --- src/Storages/AlterCommands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/AlterCommands.cpp b/src/Storages/AlterCommands.cpp index 16e1f044fd9..15095335a51 100644 --- a/src/Storages/AlterCommands.cpp +++ b/src/Storages/AlterCommands.cpp @@ -713,7 +713,7 @@ bool isMetadataOnlyConversion(const IDataType * from, const IDataType * to) return false; }; - static const std::unordered_multimap ALLOWED_CONVERSIONS = + static const std::unordered_multimap allowed_conversions = { { typeid(DataTypeEnum8), typeid(DataTypeInt8) }, { typeid(DataTypeEnum16), typeid(DataTypeInt16) }, @@ -735,7 +735,7 @@ bool isMetadataOnlyConversion(const IDataType * from, const IDataType * to) return true; /// Types changed, but representation on disk didn't - auto it_range = ALLOWED_CONVERSIONS.equal_range(typeid(*from)); + auto it_range = allowed_conversions.equal_range(typeid(*from)); for (auto it = it_range.first; it != it_range.second; ++it) { if (it->second == typeid(*to))