-
Notifications
You must be signed in to change notification settings - Fork 0
/
recm_switchwal.h
17 lines (14 loc) · 1015 Bytes
/
recm_switchwal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**********************************************************************************/
/* SWITCH WAL command */
/* Usage: */
/* switch wal */
/* Available Option(s): */
/* /verbose More detailed messages */
/* /nochkpt Do not initiate CHECKPOINT */
/**********************************************************************************/
void COMMAND_SWITCHWAL(int idcmd,char *command_line)
{
if (CLUisConnected(true) == false) return;
if (optionIsSET("opt_verbose") == true) globalArgs.verbosity=true; // Set Verbosity
cluster_doSwitchWAL( optionIsSET("opt_nochkpt")==false );
}