diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-20 19:10:33 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-20 19:10:33 +0300 |
commit | d4a2abcd2fc8186d17c42b1c4286720484dea45c (patch) | |
tree | 18c6cc5078dd6836957b0892467b154ee5d3cb9b /storage/innobase | |
parent | 17cc7b76bea79c24bd6e4cb8fd6977276c0f94b5 (diff) | |
download | mariadb-git-d4a2abcd2fc8186d17c42b1c4286720484dea45c.tar.gz |
(row0umod.c:117) Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Diffstat (limited to 'storage/innobase')
-rw-r--r-- | storage/innobase/row/row0umod.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/innobase/row/row0umod.c b/storage/innobase/row/row0umod.c index aebff0764c8..aef653b3150 100644 --- a/storage/innobase/row/row0umod.c +++ b/storage/innobase/row/row0umod.c @@ -114,12 +114,17 @@ row_undo_mod_clust_low( btr_pcur_t* pcur; btr_cur_t* btr_cur; ulint err; +#ifdef UNIV_DEBUG ibool success; +#endif /* UNIV_DEBUG */ pcur = &(node->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); |