We observed an inconsistent behaviour from MySQL Connector/J to MariaDB Connector/J.
Steps to reproduce:
1) Create a SP that always returns 0 (false)
2) Create a Test case that calls the stored procedure
3) Calls the test case with the mariadb-java-client-2.2.5 and mysql-connector-java-5.1.47
4) The test case works with the MySQL JDBC Driver but fails with MariaDB JDBC Driver. It always returns true, even though it should return false.