wsrep_sst_common.sh use sh not cut to substring
Bug #1286399 reported by
Daniel Black
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned |
Bug Description
local readonly tst="$(date +%Y%m%d\ %H:%M:%S.%N | cut -b -21)"
echo "WSREP_SST: $* ($tst)" >&2
to avoid the cut call:
local readonly tst="$(date +%Y%m%d\ %H:%M:%S.%N)"
echo "WSREP_SST: $* (${tst0:21})" >&2
To post a comment you must log in.