diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-02-10 17:29:28 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-02-10 17:29:28 -0500 |
commit | 652e4c1d3333ef0649a504995e39b5c0c664c5ff (patch) | |
tree | 6567a0637e4928805176343fa108ef62283832a2 /sql/sql_cache.cc | |
parent | 484bbd332f0876cd7df30122bcb339b62a64c871 (diff) | |
download | mariadb-git-652e4c1d3333ef0649a504995e39b5c0c664c5ff.tar.gz |
Fix for a build failure.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 32188a2a1fe..8794cdb2a45 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1928,7 +1928,7 @@ lookup: unlock(); if (wsrep_sync_wait(thd)) goto err; - if (try_lock(TRUE)) + if (try_lock(thd, Query_cache::TIMEOUT)) goto err; once_more= false; goto lookup; |