pmp-check-mysql-status fails on sql_mode with commas in output

Bug #1425240 reported by Jeremy Tinley
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Monitoring Plugins
New
Undecided
Unassigned

Bug Description

/usr/lib64/nagios/plugins/pmp-check-mysql-status -H $hostname -P $port -l $login-p $password -x sql_mode -c "ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES"
awk: cmd. line:7: if ( ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES >= ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES ) {
awk: cmd. line:7: ^ syntax error
awk: cmd. line:7: if ( ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES >= ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES ) {
awk: cmd. line:7: ^ syntax error
awk: cmd. line:18: if ( ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES >= 0 ) {
awk: cmd. line:18: ^ syntax error
awk: cmd. line:18: if ( ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES >= 0 ) {
awk: cmd. line:18: ^ syntax error
WARN sql_mode = ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES | sql_mode=ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES;;ONLY_FULL_GROUP_BY,STRICT_ALL_TABLES;0;

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.