MySQL 5.6 upgrade

Fixes toward working_tpch1_compareLogOnly.