You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct decimal widening check to preserve integer digits
The previous check (tp >= fp && ts >= fs) allowed promotions like
decimal(10,2) → decimal(12,8) where the integer part shrinks from
8 to 4 digits, potentially causing overflow. Now checks that both
integer digits (precision - scale) and fractional digits don't shrink.
0 commit comments