Commit 7f1ffcfb authored by Vasil Dimov's avatar Vasil Dimov

(row0umod.c:117) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

parent 60cd54f3
...@@ -114,12 +114,17 @@ row_undo_mod_clust_low( ...@@ -114,12 +114,17 @@ row_undo_mod_clust_low(
btr_pcur_t* pcur; btr_pcur_t* pcur;
btr_cur_t* btr_cur; btr_cur_t* btr_cur;
ulint err; ulint err;
#ifdef UNIV_DEBUG
ibool success; ibool success;
#endif /* UNIV_DEBUG */
pcur = &(node->pcur); pcur = &(node->pcur);
btr_cur = btr_pcur_get_btr_cur(pcur); btr_cur = btr_pcur_get_btr_cur(pcur);
success = btr_pcur_restore_position(mode, pcur, mtr); #ifdef UNIV_DEBUG
success =
#endif /* UNIV_DEBUG */
btr_pcur_restore_position(mode, pcur, mtr);
ut_ad(success); ut_ad(success);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment