summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2023-05-05 10:50:02 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2023-05-05 10:50:02 +0200
commitb735ca47738a1d2e995a429f40afd620eb7d8843 (patch)
treee14dcdd3a8b7597477aed7a6b541396d84683d00 /sql/sql_select.cc
parentba0433dc1ccbbf2a92ac40fc3e34339a822938f2 (diff)
parent2594da7a33580bf03590502a011679c878487d0c (diff)
downloadmariadb-git-bb-10.5-release.tar.gz
Merge branch '10.4' into 10.5mariadb-10.5.20bb-10.5-release
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 7778e4bbdd0..b6fee1c6f85 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -12988,7 +12988,7 @@ uint check_join_cache_usage(JOIN_TAB *tab,
join->return_tab= 0;
if (tab->no_forced_join_cache)
- return 0;
+ goto no_join_cache;
/*
Don't use join cache if @@join_cache_level==0 or this table is the first