Compile fails (1.0.11-4)

Bug #595478 reported by Marc Delisle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBXT
Fix Released
High
Paul McCullagh

Bug Description

With MySQL 5.1.47, I get this error:

discover_xt.cc: In function ‘int xt_create_table_frm(handlerton*, THD*, const char*, const char*, DT_FIELD_INFO*, DT_KEY_INFO*, int)’:
discover_xt.cc:1669: erreur: jump to label ‘noerror’
discover_xt.cc:1646: erreur: à partir d'ici
discover_xt.cc:1658: erreur: crosses initialization of ‘partition_info* part_info’
discover_xt.cc:1672: erreur: jump to label ‘error’
discover_xt.cc:1627: erreur: à partir d'ici
discover_xt.cc:1658: erreur: crosses initialization of ‘partition_info* part_info’
make[1]: *** [libpbxt_a-discover_xt.o] Erreur 1
make[1]: quittant le répertoire « /root/compilation/pbxt-1.0.11-4-pre-ga/src »
make: *** [install-recursive] Erreur 1

Thanks,
Marc Delisle

Related branches

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!

Revision history for this message
Marc Delisle (marc-infomarc) wrote :

Yes, good job Paul!

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

This bug is fixed in version 1.0.11-5

Changed in pbxt:
assignee: nobody → Paul McCullagh (paul-mccullagh)
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.