Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Not a Bug
-
Affects Version/s: 5.5.25
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:mariadb 5.5.23 linux
Description
hi guys i´m running a simple query with
date_field>="2001-07-06 00:00:00" AND
date_field<"2012-07-31 24:00:00"
the second part is 'invalid' "2012-07-31 24:00:00" since hour 24:00:00 don´t exists for this date...
but, i´m using
sql_mode=PIPES_AS_CONCAT,ALLOW_INVALID_DATES
what it should do? convert 24:00:00 to "2012-08-01 00:00:00" ? or just compare as string?
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
show warnings result:
warning 1292 Incorrect datetime value: '2012-07-31 24:00:00'