summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-10-25 10:48:24 +0200
committerSergei Golubchik <serg@mariadb.org>2021-10-25 17:30:03 +0200
commitd22c8cae00f7a7517c9b8228efbb543037c23c97 (patch)
tree9a63868e98cf13979c8255af016dee20de47439c /sql
parent481aa0af46930f2252cb8160358b5bd0fd4a8be6 (diff)
downloadmariadb-git-d22c8cae00f7a7517c9b8228efbb543037c23c97.tar.gz
compilation fixes for sys-devel/gcc-11.2.0:11
Diffstat (limited to 'sql')
-rw-r--r--sql/item_timefunc.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index a40c2e18b91..fd5ab057b8b 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -2832,7 +2832,6 @@ bool Item_func_timediff::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
DBUG_ASSERT(fixed == 1);
int l_sign= 1;
MYSQL_TIME l_time1,l_time2,l_time3;
- ErrConvTime str(&l_time3);
/* the following may be true in, for example, date_add(timediff(...), ... */
if (fuzzy_date & TIME_NO_ZERO_IN_DATE)