summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-07-09 13:47:41 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-07-09 13:47:41 +0400
commit0ce603ab5e4db19c961404489efe6604a28341e1 (patch)
tree60bd948a2711a243bcf55d280639ed96c5a05527 /sql/table.h
parenta4f5e01475e90019230dfefa45bf61f1b4b74bc7 (diff)
downloadmariadb-git-0ce603ab5e4db19c961404489efe6604a28341e1.tar.gz
[No BUG#] Fixes for problems discovered when running mysql-trunk's subquery testsuite
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index 5a40c7672e0..35c52f3c473 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -1766,6 +1766,7 @@ struct TABLE_LIST
*/
char *get_table_name() { return view != NULL ? view_name.str : table_name; }
bool is_active_sjm();
+ bool is_jtbm() { return test(jtbm_subselect!=NULL); }
st_select_lex_unit *get_unit();
st_select_lex *get_single_select();
void wrap_into_nested_join(List<TABLE_LIST> &join_list);