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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d0fa6b70
Commit
d0fa6b70
authored
May 20, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A comment for str_to_datetime().
parent
0a6ff14f
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 @
d0fa6b70
...
@@ -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