Fix terrible exception message

This commit is contained in:
Alexey Milovidov 2021-05-08 02:12:48 +03:00
parent d0f1931ecc
commit 734df081da

View File

@ -249,7 +249,7 @@ private:
overflow |= common::mulOverflow(y, scale, y); overflow |= common::mulOverflow(y, scale, y);
if (overflow) if (overflow)
throw Exception("Can't compare", ErrorCodes::DECIMAL_OVERFLOW); throw Exception("Can't compare decimal number due to overflow", ErrorCodes::DECIMAL_OVERFLOW);
} }
else else
{ {