Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f8718e00
Commit
f8718e00
authored
May 20, 2004
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A comment for str_to_datetime().
parent
0f3ab417
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
sql/time.cc
sql/time.cc
+14
-0
No files found.
sql/time.cc
View file @
f8718e00
...
@@ -663,6 +663,20 @@ time_t str_to_timestamp(const char *str,uint length)
...
@@ -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
)
longlong
str_to_datetime
(
const
char
*
str
,
uint
length
,
uint
fuzzy_date
)
{
{
TIME
l_time
;
TIME
l_time
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment