Commit 9a52e13c authored by unknown's avatar unknown

Fix a warning in a non-debug build.

parent 31ea7d04
...@@ -793,7 +793,8 @@ void query_cache_end_of_result(THD *thd) ...@@ -793,7 +793,8 @@ void query_cache_end_of_result(THD *thd)
query_cache.wreck() switched query cache off but left content query_cache.wreck() switched query cache off but left content
untouched for investigation (it is debugging method). untouched for investigation (it is debugging method).
*/ */
goto end; STRUCT_UNLOCK(&query_cache.structure_guard_mutex);
DBUG_VOID_RETURN;
} }
#endif #endif
header->found_rows(current_thd->limit_found_rows); header->found_rows(current_thd->limit_found_rows);
...@@ -808,7 +809,6 @@ void query_cache_end_of_result(THD *thd) ...@@ -808,7 +809,6 @@ void query_cache_end_of_result(THD *thd)
} }
end:
STRUCT_UNLOCK(&query_cache.structure_guard_mutex); STRUCT_UNLOCK(&query_cache.structure_guard_mutex);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
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