1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

merging fixes

This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-05-11 18:19:47 +05:00
parent b3ee5e878d
commit cc488e9220
4 changed files with 26 additions and 10 deletions

View File

@@ -208,6 +208,17 @@ my_decimal *date2my_decimal(MYSQL_TIME *ltime, my_decimal *dec)
}
void my_decimal_trim(ulong *precision, uint *scale)
{
if (!(*precision) && !(*scale))
{
*precision= 10;
*scale= 0;
return;
}
}
#ifndef DBUG_OFF
/* routines for debugging print */