You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Silence -Werror=implicit-fallthrough compiler errors - Patch from Monty.
The patch also fixes some potential bugs due to missing break statements.
This commit is contained in:
@ -129,6 +129,7 @@ string Func_timediff::getStrVal(rowgroup::Row& row,
|
||||
|
||||
case execplan::CalpontSystemCatalog::TIME:
|
||||
isTime1 = true;
|
||||
/* fall through */
|
||||
case execplan::CalpontSystemCatalog::DATETIME:
|
||||
// Diff between time and datetime returns NULL in MariaDB
|
||||
if ((type2 == execplan::CalpontSystemCatalog::TIME ||
|
||||
@ -229,6 +230,7 @@ string Func_timediff::getStrVal(rowgroup::Row& row,
|
||||
|
||||
case execplan::CalpontSystemCatalog::TIME:
|
||||
isTime2 = true;
|
||||
/* fall through */
|
||||
case execplan::CalpontSystemCatalog::DATETIME:
|
||||
val2 = parm[1]->data()->getDatetimeIntVal(row, isNull);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user