mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-6065 MySQL Bug#13623473 "MISSING ROWS ON SELECT AND JOIN WITH TIME/DATETIME COMPARE"
fix for ref like "indexed_time = datetime"
This commit is contained in:
@ -1259,8 +1259,7 @@ mix_date_and_time(MYSQL_TIME *to, const MYSQL_TIME *from)
|
||||
/**
|
||||
Get current date in DATE format
|
||||
*/
|
||||
static void
|
||||
set_current_date(THD *thd, MYSQL_TIME *to)
|
||||
void set_current_date(THD *thd, MYSQL_TIME *to)
|
||||
{
|
||||
thd->variables.time_zone->gmt_sec_to_TIME(to, thd->query_start());
|
||||
thd->time_zone_used= 1;
|
||||
|
Reference in New Issue
Block a user