You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-27 21:01:50 +03:00
Incremental commit. Stripping out the OBE fstream IO code.
This commit is contained in:
@ -377,25 +377,7 @@ const TxnID SessionManagerServer::newTxnID(const SID session, bool block, bool i
|
||||
if (isDDL)
|
||||
++_sysCatVerID;
|
||||
|
||||
if (false && !IDBPolicy::useHdfs())
|
||||
{
|
||||
int filedata[2];
|
||||
filedata[0] = _verID;
|
||||
filedata[1] = _sysCatVerID;
|
||||
|
||||
lseek(txnidfd, 0, SEEK_SET);
|
||||
int err = write(txnidfd, filedata, 8);
|
||||
|
||||
if (err < 0)
|
||||
{
|
||||
perror("SessionManagerServer::newTxnID(): write(verid)");
|
||||
throw runtime_error("SessionManagerServer::newTxnID(): write(verid) failed");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
saveSMTxnIDAndState();
|
||||
}
|
||||
saveSMTxnIDAndState();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user