1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge mysql.com:/home/hf/work/27921/my50-27921

into  mysql.com:/home/hf/work/27957/my50-27957
This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-05-11 18:13:06 +05:00
10 changed files with 75 additions and 22 deletions

View File

@ -395,5 +395,16 @@ int my_decimal_intg(const my_decimal *a)
}
void my_decimal_trim(ulong *precision, uint *scale)
{
if (!(*precision) && !(*scale))
{
*precision= 10;
*scale= 0;
return;
}
}
#endif /*my_decimal_h*/