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

Fixed a bug where the BRM would open the journal for reading when

it should be have open for writing.  Not sure how that ever worked.
This commit is contained in:
Patrick LeBlanc
2019-04-09 17:34:30 -05:00
parent 6e6cfdb59b
commit c0f93d904a

View File

@ -141,7 +141,7 @@ SlaveComm::SlaveComm(string hostname, SlaveDBRMNode* s) :
if (true || IDBPolicy::useHdfs())
{
journalh = IDBDataFile::open(
IDBPolicy::getType(filename, IDBPolicy::WRITEENG), filename, "r+b", 0);
IDBPolicy::getType(filename, IDBPolicy::WRITEENG), filename, "w+b", 0);
}
else
{