From ce32cae20779f19dabd3f15b9b1242ffe0ffc2fa Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 21 Nov 2018 11:29:01 +0400 Subject: [PATCH] Fixing compilation failure on Windows introduced by MDEV-17776 commit 21a58840819530ed6a257550529e50e333237479 --- sql/sql_type.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_type.cc b/sql/sql_type.cc index 278ef608220..fd2487eca2b 100644 --- a/sql/sql_type.cc +++ b/sql/sql_type.cc @@ -6581,6 +6581,7 @@ Item *Type_handler_interval_DDhhmmssff:: return 0; } return new (thd->mem_root) Item_interval_DDhhmmssff_typecast(thd, item, + (uint) attr.decimals()); }