summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-05-11 18:16:46 +0500
committerholyfoot/hf@hfmain.(none) <>2007-05-11 18:16:46 +0500
commit485051b525a85e0e255c696abdc262ccf426c853 (patch)
tree5ead5547b8c7a78d1c25bb007512eefb2785bb60 /sql/my_decimal.h
parent69cd72faadfa05ce4fa29fd9b09940ccf49321ca (diff)
parent069314eaf36e8a6ab92d9eebae5d75b56d1e84b9 (diff)
downloadmariadb-git-485051b525a85e0e255c696abdc262ccf426c853.tar.gz
Merge mysql.com:/home/hf/work/27957/my50-27957
into mysql.com:/home/hf/work/27957/my51-27957
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r--sql/my_decimal.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h
index b349fc3f62e..17eb75cfdc5 100644
--- a/sql/my_decimal.h
+++ b/sql/my_decimal.h
@@ -395,15 +395,7 @@ int my_decimal_intg(const my_decimal *a)
}
-void my_decimal_trim(ulong *precision, uint *scale)
-{
- if (!(*precision) && !(*scale))
- {
- *precision= 10;
- *scale= 0;
- return;
- }
-}
+void my_decimal_trim(ulong *precision, uint *scale);
#endif /*my_decimal_h*/