From 5409eed6f53525e55ca2290347f5cc15a6d019d2 Mon Sep 17 00:00:00 2001 From: Roman Nozdrin Date: Mon, 25 Feb 2019 18:42:56 +0300 Subject: [PATCH] MCOL-2178 Introduced a dummy replacement for a infinidb_table. Used Item attribute getters introduced by 10.4 Make changes to support Item::CONST_ITEM introduced by 10.4 as a replacement for INT_,REAL_,STRING_ ITEM. Replaced QT_INFINIDB_DERIVED and similar flags with correponded flags for Item->print(). Replaced or commented out infinidb_ variable names with columnstore_ where applicable. Fixed an impossible precision typo. --- dbcon/mysql/ha_calpont_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbcon/mysql/ha_calpont_impl.cpp b/dbcon/mysql/ha_calpont_impl.cpp index 9be4eaf0a..4efe01b51 100644 --- a/dbcon/mysql/ha_calpont_impl.cpp +++ b/dbcon/mysql/ha_calpont_impl.cpp @@ -779,7 +779,7 @@ int fetchNextRow(uchar* buf, cal_table_info& ti, cal_connection_info* ci, bool h // bug 3483, reserve enough space for the longest double value // -1.7976931348623157E+308 to -2.2250738585072014E-308, 0, and // 2.2250738585072014E-308 to 1.7976931348623157E+308. - (*f)->field_length = 310; + (*f)->field_length = 40; //double double_val = *(double*)(&value); //f2->store(double_val);