1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

change the storage device name

This commit is contained in:
david hill
2016-05-03 16:47:11 -05:00
parent 8b22aa01f8
commit 36497cfc28

View File

@ -6927,10 +6927,11 @@ namespace oam
amazondeviceName = "/dev/xvd";
//calulate id numbers from DBRoot ID
int lid = (dbrootid-1) / 10;
int did = dbrootid - (dbrootid * lid);
// int lid = (dbrootid-1) / 10;
// int did = dbrootid - (dbrootid * lid);
return boost::make_tuple(PMdeviceName + deviceLetter[lid] + itoa(did), amazondeviceName + deviceLetter[lid] + itoa(did));
// return boost::make_tuple(PMdeviceName + deviceLetter[lid] + itoa(did), amazondeviceName + deviceLetter[lid] + itoa(did));
return boost::make_tuple(PMdeviceName + deviceLetter[dbrootid-1], amazondeviceName + deviceLetter[dbrootid-1]);
}
/***************************************************************************