diff options
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h index b3d6b6ccde6..c02b0cb4c8b 100644 --- a/sql/my_decimal.h +++ b/sql/my_decimal.h @@ -244,8 +244,7 @@ int str2my_decimal(uint mask, const char *str, my_decimal *d, char **end) int str2my_decimal(uint mask, const char *from, uint length, CHARSET_INFO *charset, my_decimal *decimal_value); - -#ifdef MYSQL_SERVER +#if defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY) inline int string2my_decimal(uint mask, const String *str, my_decimal *d) { @@ -253,7 +252,6 @@ int string2my_decimal(uint mask, const String *str, my_decimal *d) } #endif - inline int double2my_decimal(uint mask, double val, my_decimal *d) { |