1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-1330 Make debug flag let valgrind work

Add a '-d' flag to WriteEngine, ExeMgr and PrimProc to let valgrind work
with them.
This commit is contained in:
Andrew Hutchings
2018-06-25 15:10:28 +01:00
parent 1ca68f63e2
commit 9e3f92b6a3
3 changed files with 40 additions and 3 deletions

View File

@ -1354,7 +1354,9 @@ int main(int argc, char* argv[])
setenv("CALPONT_CSC_IDENT", "um", 1);
#endif
setupSignalHandlers();
int err = setupResources();
int err = 0;
if (!gDebug)
err = setupResources();
string errMsg;
switch (err)
{