1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-1822 add LONG DOUBLE support

This commit is contained in:
David Hall
2019-01-29 09:55:43 -06:00
parent ee2cb7b0de
commit c5b9ae11e5
40 changed files with 746 additions and 38 deletions

View File

@ -838,6 +838,17 @@ bool compatibleColumnTypes(const CalpontSystemCatalog::ColDataType& dt1, uint32_
break;
case CalpontSystemCatalog::LONGDOUBLE:
if (forJoin && (dt2 != CalpontSystemCatalog::LONGDOUBLE))
return false;
else if (dt2 != CalpontSystemCatalog::FLOAT &&
dt2 != CalpontSystemCatalog::DOUBLE &&
dt2 != CalpontSystemCatalog::UFLOAT &&
dt2 != CalpontSystemCatalog::UDOUBLE &&
dt2 != CalpontSystemCatalog::LONGDOUBLE) return false;
break;
default:
return false;
break;