diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-06-11 10:08:08 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-06-11 10:08:08 +0200 |
commit | 6e8d49b8f51a573fa13a40a9b0bffe5424830db6 (patch) | |
tree | 5f78e028b36ce27bedde8be77bde5adea2ad67fc /sql/sql_time.h | |
parent | 2510f9c6066f8702fad6865330bf99031f9b4b60 (diff) | |
download | mariadb-git-6e8d49b8f51a573fa13a40a9b0bffe5424830db6.tar.gz |
MDEV-6065 MySQL Bug#13623473 "MISSING ROWS ON SELECT AND JOIN WITH TIME/DATETIME COMPARE"
fix for ref like "indexed_time = datetime"
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r-- | sql/sql_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h index 24a87922fa9..dc8e4668e1e 100644 --- a/sql/sql_time.h +++ b/sql/sql_time.h @@ -33,6 +33,7 @@ typedef struct st_known_date_time_format KNOWN_DATE_TIME_FORMAT; ulong convert_period_to_month(ulong period); ulong convert_month_to_period(ulong month); +void set_current_date(THD *thd, MYSQL_TIME *to); bool time_to_datetime(MYSQL_TIME *ltime); void time_to_daytime_interval(MYSQL_TIME *l_time); bool get_date_from_daynr(long daynr,uint *year, uint *month, uint *day); |