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
MCOL-520
This commit is contained in:
@ -72,6 +72,8 @@ using namespace batchloader;
|
||||
#include "we_tablelockgrabber.h"
|
||||
#include "we_simplesyslog.h"
|
||||
|
||||
#include "installdir.h"
|
||||
|
||||
namespace WriteEngine
|
||||
{
|
||||
//------------------------------------------------------------------------------
|
||||
@ -1402,7 +1404,7 @@ void WESDHandler::onBrmReport(int PmId, messageqcpp::SBS& Sbs)
|
||||
if (!fRef.fCmdArgs.getConsoleOutput())
|
||||
{
|
||||
ostringstream oss;
|
||||
oss << "/tmp/" << fTableOId << ".txt";
|
||||
oss << startup::StartUp::tmpDir() << fTableOId << ".txt";
|
||||
ofstream dmlFile(oss.str().c_str(), std::ofstream::app);
|
||||
|
||||
if (dmlFile.is_open())
|
||||
@ -1883,10 +1885,10 @@ void WESDHandler::onCleanupResult(int PmId, messageqcpp::SBS& Sbs)
|
||||
WEColOorVec::iterator aIt = fImportRslt.fColOorVec.begin();
|
||||
ofstream dmlFile;
|
||||
|
||||
if (!fRef.fCmdArgs.getConsoleOutput()) //for DML to use file /tmp/
|
||||
if (!fRef.fCmdArgs.getConsoleOutput()) //for DML to use file
|
||||
{
|
||||
ostringstream oss;
|
||||
oss << "/tmp/" << fTableOId << ".txt";
|
||||
oss << startup::StartUp::tmpDir() << fTableOId << ".txt";
|
||||
dmlFile.open(oss.str().c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user