From 36be492dc00c6aeb1eed4e871c5b10383184f559 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Wed, 20 Jul 2011 11:56:28 +0400 Subject: Fix a compile error, and most likely a bug: jtb_table_no holds table number, not table->map. --- sql/table.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/table.h') diff --git a/sql/table.h b/sql/table.h index 35c52f3c473..c38a15df476 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1320,6 +1320,7 @@ struct TABLE_LIST /* If this is a jtbm semi-join object: corresponding subselect predicate */ Item_in_subselect *jtbm_subselect; + /* TODO: check if this can be joined with tablenr_exec */ uint jtbm_table_no; SJ_MATERIALIZATION_INFO *sj_mat_info; @@ -1445,6 +1446,7 @@ struct TABLE_LIST table_map view_used_tables; table_map map_exec; + /* TODO: check if this can be joined with jtbm_table_no */ uint tablenr_exec; /* Ptr to parent MERGE table list item. See top comment in ha_myisammrg.cc */ -- cgit v1.2.1