summaryrefslogtreecommitdiff
path: root/sql/my_decimal.h
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@hfmain.(none)>2007-05-11 18:16:46 +0500
committerunknown <holyfoot/hf@hfmain.(none)>2007-05-11 18:16:46 +0500
commite4b08dca62c945950e60ba399de3104380e2ac3d (patch)
tree5ead5547b8c7a78d1c25bb007512eefb2785bb60 /sql/my_decimal.h
parentf6a06aeba2c911a3179b38c3d877e7ebcd450041 (diff)
parent3838978ef00ee338a1d5bae657be8488f20e6e2b (diff)
downloadmariadb-git-e4b08dca62c945950e60ba399de3104380e2ac3d.tar.gz
Merge mysql.com:/home/hf/work/27957/my50-27957
into mysql.com:/home/hf/work/27957/my51-27957 mysql-test/r/cast.result: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/my_decimal.h: merging
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*/