Commit 98bebad6 authored by Nirbhay Choubey's avatar Nirbhay Choubey

Fix for a typo.

parent fe757e00
...@@ -25,8 +25,8 @@ return "No my_print_defaults" unless $epath; ...@@ -25,8 +25,8 @@ return "No my_print_defaults" unless $epath;
push @::global_suppressions, push @::global_suppressions,
( (
qr(WSREP: Could not open saved state file for reading: ), qr(WSREP: Could not open saved state file for reading: ),
qr(WSREP: option --wsrep-casual-reads is deprecated), qr(WSREP: option --wsrep-causal-reads is deprecated),
qr(WSREP: --wsrep-casual-reads=ON takes precedence over --wsrep-sync-wait=0), qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0),
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|, qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
); );
......
...@@ -8764,10 +8764,10 @@ static int get_options(int *argc_ptr, char ***argv_ptr) ...@@ -8764,10 +8764,10 @@ static int get_options(int *argc_ptr, char ***argv_ptr)
} }
if (global_system_variables.wsrep_causal_reads) { if (global_system_variables.wsrep_causal_reads) {
WSREP_WARN("option --wsrep-casual-reads is deprecated"); WSREP_WARN("option --wsrep-causal-reads is deprecated");
if (!(global_system_variables.wsrep_sync_wait & if (!(global_system_variables.wsrep_sync_wait &
WSREP_SYNC_WAIT_BEFORE_READ)) { WSREP_SYNC_WAIT_BEFORE_READ)) {
WSREP_WARN("--wsrep-casual-reads=ON takes precedence over --wsrep-sync-wait=%u. " WSREP_WARN("--wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=%u. "
"WSREP_SYNC_WAIT_BEFORE_READ is on", "WSREP_SYNC_WAIT_BEFORE_READ is on",
global_system_variables.wsrep_sync_wait); global_system_variables.wsrep_sync_wait);
global_system_variables.wsrep_sync_wait |= WSREP_SYNC_WAIT_BEFORE_READ; global_system_variables.wsrep_sync_wait |= WSREP_SYNC_WAIT_BEFORE_READ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment