You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +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:
@ -1709,6 +1709,7 @@ void RowAggregation::updateEntry(const Row& rowIn)
|
||||
|
||||
// if NOT null, let execution fall through.
|
||||
if (isNull(&fRowGroupIn, rowIn, colIn) == true) break;
|
||||
/* fall through */
|
||||
|
||||
case ROWAGG_COUNT_ASTERISK:
|
||||
fRow.setUintField<8>(fRow.getUintField<8>(colOut) + 1, colOut);
|
||||
@ -2467,6 +2468,7 @@ void RowAggregationUM::updateEntry(const Row& rowIn)
|
||||
|
||||
// if NOT null, let execution fall through.
|
||||
if (isNull(&fRowGroupIn, rowIn, colIn) == true) break;
|
||||
/* fall through */
|
||||
|
||||
case ROWAGG_COUNT_ASTERISK:
|
||||
fRow.setUintField<8>(fRow.getUintField<8>(colOut) + 1, colOut);
|
||||
|
Reference in New Issue
Block a user