diff options
author | holyfoot/hf@mysql.com/deer.(none) <> | 2006-10-25 20:14:39 +0500 |
---|---|---|
committer | holyfoot/hf@mysql.com/deer.(none) <> | 2006-10-25 20:14:39 +0500 |
commit | 4fb00857ca27d66fee465c85d882c7edf46ef828 (patch) | |
tree | 248f0c5b988b23156208cb6f1d2014539218eb9d /sql/my_decimal.h | |
parent | 001aaedddcd22cddc10bfc6f6e2f43d028c7f1ac (diff) | |
download | mariadb-git-4fb00857ca27d66fee465c85d882c7edf46ef828.tar.gz |
bug #19491 (CAST do DATETIME wrong result)
Diffstat (limited to 'sql/my_decimal.h')
-rw-r--r-- | sql/my_decimal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/my_decimal.h b/sql/my_decimal.h index b02abacf0a3..af3edade8d6 100644 --- a/sql/my_decimal.h +++ b/sql/my_decimal.h @@ -295,7 +295,12 @@ int string2my_decimal(uint mask, const String *str, my_decimal *d) { return str2my_decimal(mask, str->ptr(), str->length(), str->charset(), d); } -#endif + + +my_decimal *date2my_decimal(TIME *ltime, my_decimal *dec); + + +#endif /*defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY) */ inline int double2my_decimal(uint mask, double val, my_decimal *d) |