Comment 1 for bug 595478

Revision history for this message
Paul McCullagh (paul-mccullagh) wrote :

Hi Marc,

Thanks for the bug report.

Could you please replace:

#if MYSQL_VERSION_ID > 50130
 partition_info *part_info = thd->work_part_info;

 thd->work_part_info = NULL;
#endif

with:

#if MYSQL_VERSION_ID > 50130
 partition_info *part_info;

 part_info = thd->work_part_info;
 thd->work_part_info = NULL;
#endif

And let me know if this fixes the bug.

Thanks!