Bug 14637: Fix add patron category under MySQL 5.7 - tests