summaryrefslogtreecommitdiff
path: root/sql/sql_cursor.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-03-27 03:54:15 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-03-27 03:54:15 +0400
commit4e5199912baa75261ea0bc1a5602e2746c74b1c2 (patch)
tree747f2fbccf1e03bc704edd953a07448946beddde /sql/sql_cursor.cc
parent5de770f31736e1ed7088b6d609a4237083d4fe47 (diff)
downloadmariadb-git-4e5199912baa75261ea0bc1a5602e2746c74b1c2.tar.gz
Rename JOIN::top_jtrange_tables to top_join_tab_count
Diffstat (limited to 'sql/sql_cursor.cc')
-rw-r--r--sql/sql_cursor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cursor.cc b/sql/sql_cursor.cc
index 915a4dd0c9c..2f52726eea5 100644
--- a/sql/sql_cursor.cc
+++ b/sql/sql_cursor.cc
@@ -381,13 +381,13 @@ Sensitive_cursor::open(JOIN *join_arg)
/* Prepare JOIN for reading rows. */
join->tmp_table= 0;
- join->join_tab[join->top_jtrange_tables - 1].next_select= setup_end_select_func(join);
+ join->join_tab[join->top_join_tab_count - 1].next_select= setup_end_select_func(join);
join->send_records= 0;
join->fetch_limit= join->unit->offset_limit_cnt;
/* Disable JOIN CACHE as it is not working with cursors yet */
for (JOIN_TAB *tab= first_linear_tab(join, WITHOUT_CONST_TABLES);
- tab != join->join_tab + join->top_jtrange_tables - 1;
+ tab != join->join_tab + join->top_join_tab_count - 1;
tab= next_linear_tab(join, tab, WITH_BUSH_ROOTS))
{
if (tab->next_select == sub_select_cache)