diff options
author | gluh@mysql.com/gluh.(none) <> | 2006-08-08 16:03:42 +0500 |
---|---|---|
committer | gluh@mysql.com/gluh.(none) <> | 2006-08-08 16:03:42 +0500 |
commit | 7e07425b2b10a23fc864b0e5ee11e264f19f547c (patch) | |
tree | 475ca7e04f6aa86e1aaadb5b9381c3f76cb6cf95 /include/decimal.h | |
parent | 91c118e224b1ef4c741bee9a0c533e4b2c34c812 (diff) | |
download | mariadb-git-7e07425b2b10a23fc864b0e5ee11e264f19f547c.tar.gz |
Bug#16172 DECIMAL data type processed incorrectly
issue an 'overflow warning' if result value is bigger than max possible value
Diffstat (limited to 'include/decimal.h')
-rw-r--r-- | include/decimal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/decimal.h b/include/decimal.h index 2648e04c1cf..3b4cafbfd26 100644 --- a/include/decimal.h +++ b/include/decimal.h @@ -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); |