Commit 60cd54f3 authored by Vasil Dimov's avatar Vasil Dimov

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

parent c07b437f
...@@ -786,7 +786,9 @@ row_purge_step( ...@@ -786,7 +786,9 @@ row_purge_step(
que_thr_t* thr) /*!< in: query thread */ que_thr_t* thr) /*!< in: query thread */
{ {
purge_node_t* node; purge_node_t* node;
#ifdef UNIV_DEBUG
ulint err; ulint err;
#endif /* UNIV_DEBUG */
ut_ad(thr); ut_ad(thr);
...@@ -794,7 +796,10 @@ row_purge_step( ...@@ -794,7 +796,10 @@ row_purge_step(
ut_ad(que_node_get_type(node) == QUE_NODE_PURGE); ut_ad(que_node_get_type(node) == QUE_NODE_PURGE);
err = row_purge(node, thr); #ifdef UNIV_DEBUG
err =
#endif /* UNIV_DEBUG */
row_purge(node, thr);
ut_ad(err == DB_SUCCESS); ut_ad(err == DB_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