solved a problem with latest mysql 5.6 introduced Partition as preserved variable, by using back tick ` for all Partition table, it is fixed, tested on MySQL 5.6.12 MISO-7