◆ Operation()
| static TR duckdb::DecimalAddOverflowCheck::Operation |
( |
TA |
left, |
|
|
TB |
right |
|
) |
| |
|
inlinestatic |
20214 {
20215 TR result;
20216 if (!TryDecimalAdd::Operation<TA, TB, TR>(left, right, result)) {
20217 throw OutOfRangeException("Overflow in addition of DECIMAL(18) (%d + %d). You might want to add an "
20218 "explicit cast to a bigger decimal.",
20219 left, right);
20220 }
20221 return result;
20222 }
The documentation for this struct was generated from the following file:
- external/duckdb/duckdb.cpp