summaryrefslogtreecommitdiff
path: root/sql/sql_time.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2013-06-28 15:20:40 +0400
committerAlexander Barkov <bar@mariadb.org>2013-06-28 15:20:40 +0400
commitf13236be86472d3d69660c1c762b5dbc01ec644b (patch)
tree2712ba963aec92e65e34a51bec65354d0937ef5b /sql/sql_time.h
parentd058863d8e0162aa3a4ea571416c03903c92687b (diff)
parent0e44faf27ff243f8e8c1432568eef21964ad326c (diff)
downloadmariadb-git-f13236be86472d3d69660c1c762b5dbc01ec644b.tar.gz
Merge from 5.3
modified: mysql-test/r/type_date.result mysql-test/r/type_datetime.result mysql-test/r/type_time.result mysql-test/t/type_date.test mysql-test/t/type_datetime.test mysql-test/t/type_time.test sql/item_func.cc sql/item_timefunc.cc sql/sql_time.cc sql/sql_time.h pending merges: Alexander Barkov 2013-06-28 MDEV-4634 Crash in CONVERT_TZ
Diffstat (limited to 'sql/sql_time.h')
-rw-r--r--sql/sql_time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_time.h b/sql/sql_time.h
index 998d7d78da1..f8b1e950b14 100644
--- a/sql/sql_time.h
+++ b/sql/sql_time.h
@@ -121,5 +121,7 @@ check_date(const MYSQL_TIME *ltime, ulonglong flags, int *was_cut)
{
return check_date(ltime, non_zero_date(ltime), flags, was_cut);
}
+bool check_date_with_warn(const MYSQL_TIME *ltime, ulonglong fuzzy_date,
+ timestamp_type ts_type);
#endif /* SQL_TIME_INCLUDED */