From 5d4fb15e5a2391d7117dfb13203e33f3673dab20 Mon Sep 17 00:00:00 2001 From: Nirbhay Choubey Date: Mon, 22 Feb 2016 22:05:16 -0500 Subject: [PATCH] Fix for compilation failure. --- sql/sql_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 0d3497ad964..6a0f811d3a2 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1963,7 +1963,7 @@ def_week_frmt: %lu, in_trans: %d, autocommit: %d", unlock(); if (wsrep_sync_wait(thd)) goto err; - if (try_lock(TRUE)) + if (try_lock(thd, Query_cache::TIMEOUT)) goto err; query_block = (Query_cache_block *) my_hash_search(&queries, (uchar*) sql,