1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#16172 DECIMAL data type processed incorrectly

issue an 'overflow warning' if result value is bigger than max possible value
This commit is contained in:
gluh@mysql.com/gluh.(none)
2006-08-08 16:03:42 +05:00
parent 91c118e224
commit 7e07425b2b
9 changed files with 85 additions and 5 deletions

View File

@ -383,5 +383,13 @@ int my_decimal_cmp(const my_decimal *a, const my_decimal *b)
return decimal_cmp((decimal_t*) a, (decimal_t*) b);
}
inline
int my_decimal_intg(const my_decimal *a)
{
return decimal_intg((decimal_t*) a);
}
#endif /*my_decimal_h*/