openbsd-ports/databases/percona-toolkit/patches/patch-bin_pt-mysql-summary
2012-04-18 13:24:21 +00:00

13 lines
605 B
Plaintext

$OpenBSD: patch-bin_pt-mysql-summary,v 1.2 2012/04/18 13:24:21 giovanni Exp $
--- bin/pt-mysql-summary.orig Tue Apr 3 21:51:38 2012
+++ bin/pt-mysql-summary Wed Apr 18 15:12:57 2012
@@ -596,7 +596,7 @@ shorten() {
}
group_concat () {
- sed -e '{H; $!d;}' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
+ sed -e 'H; $!d;' -e 'x' -e 's/\n[[:space:]]*\([[:digit:]]*\)[[:space:]]*/, \1x/g' -e 's/[[:space:]][[:space:]]*/ /g' -e 's/, //' "${1}"
}
# ###########################################################################