Commit 001d4cf9 authored by unknown's avatar unknown

A comment for str_to_datetime().

parent 4471aadb
......@@ -663,6 +663,20 @@ time_t str_to_timestamp(const char *str,uint length)
}
/*
Convert a string to datetime.
SYNOPSIS
str_to_datetime()
str String to parse (see str_to_TIME() synopsis)
length Length of str
fuzzy_date Flags (see str_to_TIME() synopsis)
RETURN
-1 if error
datetime value otherwise
*/
longlong str_to_datetime(const char *str,uint length, uint fuzzy_date)
{
TIME l_time;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment