1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL4841 dev port run large join without OOM

This commit is contained in:
David Hall
2022-02-09 17:33:55 -06:00
parent d30e140dc3
commit 27dea733c5
34 changed files with 821 additions and 518 deletions

View File

@ -75,6 +75,7 @@ using namespace idbdatafile;
#include "mariadb_my_sys.h"
#include "service.h"
#include "threadnaming.h"
class Opt
{
@ -246,6 +247,7 @@ class QszMonThd
void operator()()
{
utils::setThreadName("QszMonThd");
for (;;)
{
uint32_t qd = fPsp->getProcessorThreadPool()->getWaiting();
@ -287,6 +289,7 @@ class QszMonThd
#ifdef DUMP_CACHE_CONTENTS
void* waitForSIGUSR1(void* p)
{
utils::setThreadName("waitForSIGUSR1");
#if defined(__LP64__) || defined(_MSC_VER)
ptrdiff_t tmp = reinterpret_cast<ptrdiff_t>(p);
int cacheCount = static_cast<int>(tmp);