[Improvement](decimal) reduce overhead on disable check decimal overflow (#28249)

reduce overhead on disable check decimal overflow
This commit is contained in:
Pxl
2023-12-19 10:12:30 +08:00
committed by GitHub
parent 89d728290d
commit d6514618b2
12 changed files with 377 additions and 615 deletions

View File

@ -956,7 +956,7 @@ public class SessionVariable implements Serializable, Writable {
@VariableMgr.VarAttr(name = ENABLE_PROJECTION)
private boolean enableProjection = true;
@VariableMgr.VarAttr(name = CHECK_OVERFLOW_FOR_DECIMAL, varType = VariableAnnotation.DEPRECATED)
@VariableMgr.VarAttr(name = CHECK_OVERFLOW_FOR_DECIMAL)
private boolean checkOverflowForDecimal = true;
@VariableMgr.VarAttr(name = DECIMAL_OVERFLOW_SCALE, needForward = true, description = {