summaryrefslogtreecommitdiff
path: root/sql/my_decimal.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2005-10-15 21:57:32 +0500
committerhf@deer.(none) <>2005-10-15 21:57:32 +0500
commit3f76925d0670544b0e0be82fd7ef1ab39c285f7f (patch)
treed4f623548567a998d3362e8b80be5f13d0de8c08 /sql/my_decimal.cc
parenta5c5b2c65841827444ffe8878b900e6d2b3f5781 (diff)
downloadmariadb-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.cc2
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;
}