You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
New warnfixes (#2254)
* Fix clang warnings * Remove vim tab guides * initialize variables * 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length * Fix ISO C++17 does not allow 'register' storage class specifier for outdated bison * chars are unsigned on ARM, having if (ival < 0) always false * chars are unsigned by default on ARM and comparison with -1 if always true
This commit is contained in:
@ -269,8 +269,8 @@ float RowEstimator::estimateRowReturnFactor(const BRM::EMEntry& emEntry, const m
|
||||
float tempFactor = 1.0;
|
||||
|
||||
uint64_t adjustedMin = 0, adjustedMax = 0;
|
||||
uint128_t adjustedBigMin, adjustedBigMax;
|
||||
uint32_t distinctValuesEstimate;
|
||||
uint128_t adjustedBigMin = 0, adjustedBigMax = 0;
|
||||
uint32_t distinctValuesEstimate = 0;
|
||||
|
||||
// Adjust values based on column type and estimate the
|
||||
if (!ct.isWideDecimalType())
|
||||
|
Reference in New Issue
Block a user