mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge remote-tracking branch '10.0' into 10.1
This commit is contained in:
@ -959,6 +959,8 @@ bool date_add_interval(MYSQL_TIME *ltime, interval_type int_type,
|
||||
ltime->day= 0;
|
||||
return 0;
|
||||
}
|
||||
else if (ltime->neg)
|
||||
goto invalid_date;
|
||||
|
||||
if (int_type != INTERVAL_DAY)
|
||||
ltime->time_type= MYSQL_TIMESTAMP_DATETIME; // Return full date
|
||||
|
Reference in New Issue
Block a user