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
Revert "MCOL-5555 Add support for startreadonly
command."
This reverts commit 441cd9d34f
.
This commit is contained in:
committed by
Leonid Fedorov
parent
041eb2ec8a
commit
6315546557
@ -39,10 +39,7 @@ bool vflg;
|
||||
|
||||
void usage(char* c)
|
||||
{
|
||||
cerr << "Usage: " << c
|
||||
<< " [-vh] status | halt | resume | readonly | readwrite | reload | startreadonly | "
|
||||
"forceclearcpimportjobs"
|
||||
<< endl;
|
||||
cerr << "Usage: " << c << " [-vh] status | halt | resume | readonly | readwrite | reload" << endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -118,20 +115,6 @@ void do_status()
|
||||
errMsg(err);
|
||||
}
|
||||
|
||||
void start_readonly()
|
||||
{
|
||||
int err;
|
||||
err = dbrm.startReadOnly();
|
||||
errMsg(err);
|
||||
}
|
||||
|
||||
void force_clear_cpimport_jobs()
|
||||
{
|
||||
int err;
|
||||
err = dbrm.forceClearCpimportJobs();
|
||||
errMsg(err);
|
||||
}
|
||||
|
||||
void do_sysstatus()
|
||||
{
|
||||
int err;
|
||||
@ -189,10 +172,6 @@ int main(int argc, char** argv)
|
||||
set_readonly(false);
|
||||
else if (cmd == "reload")
|
||||
do_reload();
|
||||
else if (cmd == "startreadonly")
|
||||
start_readonly();
|
||||
else if (cmd == "forceclearcpimportjobs")
|
||||
force_clear_cpimport_jobs();
|
||||
else if (cmd == "sysstatus")
|
||||
do_sysstatus();
|
||||
else
|
||||
|
Reference in New Issue
Block a user