You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-1985 Don't change umber of decimals if DECIMAL_NOT_SPECIFIED
This commit is contained in:
@ -168,7 +168,7 @@ extern "C"
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args->arg_type[1] == DECIMAL_RESULT)
|
if (initid->decimals != DECIMAL_NOT_SPECIFIED)
|
||||||
{
|
{
|
||||||
initid->decimals +=4;
|
initid->decimals +=4;
|
||||||
}
|
}
|
||||||
@ -272,7 +272,7 @@ extern "C"
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args->arg_type[0] == DECIMAL_RESULT)
|
if (initid->decimals != DECIMAL_NOT_SPECIFIED)
|
||||||
{
|
{
|
||||||
initid->decimals +=4;
|
initid->decimals +=4;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user