fix cannot access to temporary teble on MySQL 5.6