1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00
This commit is contained in:
David Hill
2016-11-17 22:42:22 +00:00
parent 03efedde03
commit f785bea1d9

View File

@ -8550,6 +8550,9 @@ namespace oam
string entry = device + " " + InstallDir + "/data" + dbrootID + " ext2 noatime,nodiratime,noauto 0 0";
//update local fstab
int user;
user = getuid();
if (user == 0)
cmd = "echo " + entry + " >> /etc/fstab";
else