diff options
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 1da3a087226..8c2f277df2c 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -3588,7 +3588,7 @@ static void fetch_string_with_conversion(MYSQL_BIND *param, char *value, case MYSQL_TYPE_TIME: { MYSQL_TIME *tm= (MYSQL_TIME *)buffer; - str_to_datetime(value, length, tm, TIME_TIME_ONLY, &err); + str_to_time(value, length, tm, &err); *param->error= test(err); break; } |