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
Fixes of bugs from ASAN warnings, part one (#2796)
This commit is contained in:
@ -1941,7 +1941,7 @@ int ha_mcs_cache::flush_insert_cache()
|
||||
int error, error2;
|
||||
ha_maria* from = cache_handler;
|
||||
uchar* record = table->record[0];
|
||||
ulonglong copied_rows = 0;
|
||||
[[maybe_unused]] ulonglong copied_rows = 0;
|
||||
DBUG_ENTER("flush_insert_cache");
|
||||
|
||||
DBUG_ASSERT(from->file->state->records == share->cached_rows);
|
||||
|
@ -2963,7 +2963,7 @@ SimpleColumn* getSmallestColumn(boost::shared_ptr<CalpontSystemCatalog> csc,
|
||||
|
||||
CalpontSelectExecutionPlan::ReturnedColumnList::const_iterator iter;
|
||||
|
||||
ReturnedColumn* rc;
|
||||
ReturnedColumn* rc = nullptr;
|
||||
|
||||
for (iter = cols.begin(); iter != cols.end(); iter++)
|
||||
{
|
||||
|
@ -569,7 +569,7 @@ extern "C"
|
||||
|
||||
void calshowpartitions_deinit(UDF_INIT* initid)
|
||||
{
|
||||
delete initid->ptr;
|
||||
delete[] initid->ptr;
|
||||
}
|
||||
|
||||
const char* calshowpartitions(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned long* length,
|
||||
@ -1164,7 +1164,7 @@ extern "C"
|
||||
|
||||
void calshowpartitionsbyvalue_deinit(UDF_INIT* initid)
|
||||
{
|
||||
delete initid->ptr;
|
||||
delete[] initid->ptr;
|
||||
}
|
||||
|
||||
const char* calshowpartitionsbyvalue(UDF_INIT* initid, UDF_ARGS* args, char* result,
|
||||
|
Reference in New Issue
Block a user