diff options
author | hf@deer.(none) <> | 2005-10-15 21:57:32 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2005-10-15 21:57:32 +0500 |
commit | 3f76925d0670544b0e0be82fd7ef1ab39c285f7f (patch) | |
tree | d4f623548567a998d3362e8b80be5f13d0de8c08 /sql/my_decimal.cc | |
parent | a5c5b2c65841827444ffe8878b900e6d2b3f5781 (diff) | |
download | mariadb-git-3f76925d0670544b0e0be82fd7ef1ab39c285f7f.tar.gz |
Fix for bug #13573 (wrong data inserted for too big decimals)
Diffstat (limited to 'sql/my_decimal.cc')
-rw-r--r-- | sql/my_decimal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.cc b/sql/my_decimal.cc index f188d27ff78..1bd16940b47 100644 --- a/sql/my_decimal.cc +++ b/sql/my_decimal.cc @@ -185,7 +185,7 @@ int str2my_decimal(uint mask, const char *from, uint length, } } } - check_result(mask, err); + check_result_and_overflow(mask, err, decimal_value); return err; } |