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
Changes to compile local
This commit is contained in:
@ -187,7 +187,7 @@ ENDIF()
|
|||||||
IF (NOT INSTALL_LAYOUT)
|
IF (NOT INSTALL_LAYOUT)
|
||||||
MY_CHECK_AND_SET_COMPILER_FLAG("-g -O3 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fno-tree-vectorize -D_GLIBCXX_ASSERTIONS -DDBUG_OFF -DHAVE_CONFIG_H" RELEASE RELWITHDEBINFO MINSIZEREL)
|
MY_CHECK_AND_SET_COMPILER_FLAG("-g -O3 -fno-omit-frame-pointer -fno-strict-aliasing -Wall -fno-tree-vectorize -D_GLIBCXX_ASSERTIONS -DDBUG_OFF -DHAVE_CONFIG_H" RELEASE RELWITHDEBINFO MINSIZEREL)
|
||||||
MY_CHECK_AND_SET_COMPILER_FLAG("-ggdb3 -fno-omit-frame-pointer -fno-tree-vectorize -D_GLIBCXX_ASSERTIONS -DSAFE_MUTEX -DSAFEMALLOC -DENABLED_DEBUG_SYNC -O0 -Wall -D_DEBUG -DHAVE_CONFIG_H" DEBUG)
|
MY_CHECK_AND_SET_COMPILER_FLAG("-ggdb3 -fno-omit-frame-pointer -fno-tree-vectorize -D_GLIBCXX_ASSERTIONS -DSAFE_MUTEX -DSAFEMALLOC -DENABLED_DEBUG_SYNC -O0 -Wall -D_DEBUG -DHAVE_CONFIG_H" DEBUG)
|
||||||
MY_CHECK_AND_SET_COMPILER_FLAG("-msse4.2" RELEASE RELWITHDEBINFO MINSIZEREL DEBUG)
|
MY_CHECK_AND_SET_COMPILER_FLAG("-msse4.2 -DBOOST_BIND_GLOBAL_PLACEHOLDERS" RELEASE RELWITHDEBINFO MINSIZEREL DEBUG)
|
||||||
|
|
||||||
# enable security hardening features, like most distributions do
|
# enable security hardening features, like most distributions do
|
||||||
# in our benchmarks that costs about ~1% of performance, depending on the load
|
# in our benchmarks that costs about ~1% of performance, depending on the load
|
||||||
|
@ -789,7 +789,6 @@ class RowGroupStorage
|
|||||||
void putKeyRow(uint64_t idx, Row& row)
|
void putKeyRow(uint64_t idx, Row& row)
|
||||||
{
|
{
|
||||||
uint64_t rgid = idx / fMaxRows;
|
uint64_t rgid = idx / fMaxRows;
|
||||||
uint64_t rid = idx % fMaxRows;
|
|
||||||
|
|
||||||
while (rgid >= fRGDatas.size())
|
while (rgid >= fRGDatas.size())
|
||||||
{
|
{
|
||||||
@ -819,7 +818,7 @@ class RowGroupStorage
|
|||||||
|
|
||||||
fLRU->add(rgid);
|
fLRU->add(rgid);
|
||||||
|
|
||||||
assert(rid == fRowGroupOut->getRowCount());
|
assert(idx % fMaxRows == fRowGroupOut->getRowCount());
|
||||||
fRowGroupOut->getRow(fRowGroupOut->getRowCount(), &row);
|
fRowGroupOut->getRow(fRowGroupOut->getRowCount(), &row);
|
||||||
fRowGroupOut->incRowCount();
|
fRowGroupOut->incRowCount();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user