diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-07-20 11:56:28 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-07-20 11:56:28 +0400 |
commit | 36be492dc00c6aeb1eed4e871c5b10383184f559 (patch) | |
tree | c947706340199d29459867a569c274e328a8fe42 /sql/table.h | |
parent | 837c6722ed025c566b688a1d1ecb2bd7d0b8af7c (diff) | |
download | mariadb-git-36be492dc00c6aeb1eed4e871c5b10383184f559.tar.gz |
Fix a compile error, and most likely a bug: jtb_table_no holds table number, not table->map.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |