Fix the "unknown command" error message in non-primary mode

Bug #1426378 reported by Alexey Kopytov on 2015-02-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Won't Fix
Undecided
Unassigned
5.6
Fix Released
Medium
Alexey Kopytov

Bug Description

This is a copy of https://mariadb.atlassian.net/browse/MDEV-6171

The error message text returned to the client in the non-primary mode is meant to be more descriptive ("WSREP has not yet prepared node for application use"), but the incorrect usage of my_error() leads to "Unknown command" being returned.

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-331

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers