From 77c4c4d8ea042fc1f3cb16aa0681e8516c0cc923 Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Sat, 28 May 2011 20:34:04 +0400 Subject: post-merge fixes: get MWL#90 code to work with MWL#89's way of processing prepared statements: - conversion subquery_predicate -> TABLE_LIST is once per-statement - However, the code must take into account that materialized temptable is dropped and re-created on each execution (the tricky part is that at start of n-th EXECUTE we have TABLE_LIST object but not its TABLE object) - IN-equality is injected into WHERE on every execution. --- sql/table.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/table.h') diff --git a/sql/table.h b/sql/table.h index da925c2db56..9bb9b5beb6b 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1272,6 +1272,7 @@ struct TABLE_LIST /* If this is a jtbm semi-join object: corresponding subselect predicate */ Item_in_subselect *jtbm_subselect; + uint jtbm_table_no; SJ_MATERIALIZATION_INFO *sj_mat_info; -- cgit v1.2.1