mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02:00
Fix for bug #8534 (Compile errors in Precision Math code on Windows)
sql/filesort.cc: Type of the parameter changed sql/my_decimal.cc: type of the parameter changed sql/my_decimal.h: Parameter type changed
This commit is contained in:
parent
04bae3c0eb
commit
bcbc61b1b7
3 changed files with 4 additions and 4 deletions
|
|
@ -150,12 +150,12 @@ void my_decimal2decimal(const my_decimal *from, my_decimal *to)
|
|||
}
|
||||
|
||||
|
||||
int my_decimal2binary(uint mask, const my_decimal *d, byte *bin, int prec,
|
||||
int my_decimal2binary(uint mask, const my_decimal *d, char *bin, int prec,
|
||||
int scale);
|
||||
|
||||
|
||||
inline
|
||||
int binary2my_decimal(uint mask, const byte *bin, my_decimal *d, int prec,
|
||||
int binary2my_decimal(uint mask, const char *bin, my_decimal *d, int prec,
|
||||
int scale)
|
||||
{
|
||||
return check_result(mask, bin2decimal((char *)bin, (decimal *)d, prec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue