wsrep_sst_common.sh use sh not cut to substring

Bug #1286399 reported by Daniel Black
6
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.