diff options
author | kostja@bodhi.(none) <> | 2007-07-14 04:38:21 +0400 |
---|---|---|
committer | kostja@bodhi.(none) <> | 2007-07-14 04:38:21 +0400 |
commit | 74e4fccbbca400e56f7617a9ba67b7a11d0571f4 (patch) | |
tree | cc915f713daee5a2747ea590d2e01fbc96e7fc27 | |
parent | f5267530d95b8d6e771304dcb86147e1e2d2e356 (diff) | |
download | mariadb-git-74e4fccbbca400e56f7617a9ba67b7a11d0571f4.tar.gz |
Fix a warning in a non-debug build.
-rw-r--r-- | sql/sql_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 69efbdf006a..0e4404b87fc 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -793,7 +793,8 @@ void query_cache_end_of_result(THD *thd) query_cache.wreck() switched query cache off but left content untouched for investigation (it is debugging method). */ - goto end; + STRUCT_UNLOCK(&query_cache.structure_guard_mutex); + DBUG_VOID_RETURN; } #endif header->found_rows(current_thd->limit_found_rows); @@ -808,7 +809,6 @@ void query_cache_end_of_result(THD *thd) } -end: STRUCT_UNLOCK(&query_cache.structure_guard_mutex); DBUG_VOID_RETURN; } |