1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-02 17:22:27 +03:00

MCOL-1985 Don't change umber of decimals if DECIMAL_NOT_SPECIFIED

This commit is contained in:
David Hall
2019-04-18 13:31:16 -05:00
parent c17e32d5e0
commit b38f192e2e

View File

@ -168,7 +168,7 @@ extern "C"
return 1;
}
if (args->arg_type[1] == DECIMAL_RESULT)
if (initid->decimals != DECIMAL_NOT_SPECIFIED)
{
initid->decimals +=4;
}
@ -272,7 +272,7 @@ extern "C"
return 1;
}
if (args->arg_type[0] == DECIMAL_RESULT)
if (initid->decimals != DECIMAL_NOT_SPECIFIED)
{
initid->decimals +=4;
}