1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-24 14:48:09 +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

@@ -48,6 +48,7 @@ int decimal_bin_size(int precision, int scale);
int decimal_result_size(decimal_t *from1, decimal_t *from2, char op,
int param);
int decimal_intg(decimal_t *from);
int decimal_add(decimal_t *from1, decimal_t *from2, decimal_t *to);
int decimal_sub(decimal_t *from1, decimal_t *from2, decimal_t *to);
int decimal_cmp(decimal_t *from1, decimal_t *from2);