refs #110 merged fixes from https://github.com/percona/galera