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

hf's fix for bug #9060 (FORMAT returns incorrect result)

we need proper rounding there
This commit is contained in:
ramil@mysql.com
2005-05-20 01:04:08 +05:00
parent ad2e3a6170
commit b06181bccd
5 changed files with 24 additions and 8 deletions

View File

@ -1251,6 +1251,7 @@ ha_rows filesort(THD *thd, TABLE *form,struct st_sort_field *sortorder,
ha_rows max_rows, ha_rows *examined_rows);
void filesort_free_buffers(TABLE *table);
void change_double_for_sort(double nr,byte *to);
double my_double_round(double value, int dec, bool truncate);
int get_quick_record(SQL_SELECT *select);
int calc_weekday(long daynr,bool sunday_first_day_of_week);
uint calc_week(TIME *l_time, uint week_behaviour, uint *year);