diff --git a/dbms/include/DB/Functions/FunctionsReinterpret.h b/dbms/include/DB/Functions/FunctionsReinterpret.h index 1fa243b28e4..4dee5645d10 100644 --- a/dbms/include/DB/Functions/FunctionsReinterpret.h +++ b/dbms/include/DB/Functions/FunctionsReinterpret.h @@ -158,8 +158,7 @@ public: for (size_t i = 0; i < size; ++i) { ToFieldType value = 0; - memcpySmallAllowReadWriteOverflow15( - &value, &data_from[offset], std::min(sizeof(ToFieldType), offsets_from[i] - offset - 1)); + memcpy(&value, &data_from[offset], std::min(sizeof(ToFieldType), offsets_from[i] - offset - 1)); vec_res[i] = value; offset = offsets_from[i]; } @@ -180,7 +179,7 @@ public: for (size_t i = 0; i < size; ++i) { ToFieldType value = 0; - memcpySmallAllowReadWriteOverflow15(&value, &data_from[offset], copy_size); + memcpy(&value, &data_from[offset], copy_size); vec_res[i] = value; offset += step; }