summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-05-12 10:54:23 -0700
committerunknown <igor@olga.mysql.com>2007-05-12 10:54:23 -0700
commit6fa4fdd29ce40375f9b79fd22a0c703fa8b0fc0f (patch)
treedae2b20962e2b9f5326b2d11adc18ffff0fb7656 /sql/sql_select.h
parentc749664deb9f5e77dd846480fba53568f39815d9 (diff)
parentd886ea8fb66c10e58029bf7c010a1a2a085ad23d (diff)
downloadmariadb-git-6fa4fdd29ce40375f9b79fd22a0c703fa8b0fc0f.tar.gz
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt mysql-test/r/subselect3.result: Auto merged sql/item_subselect.cc: Auto merged sql/sql_select.h: Auto merged
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 644224d1bed..971b7caf69d 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -160,6 +160,13 @@ typedef struct st_join_table {
Read_record_func read_first_record;
Next_select_func next_select;
READ_RECORD read_record;
+ /*
+ Currently the following two fields are used only for a [NOT] IN subquery
+ if it is executed by an alternative full table scan when the left operand of
+ the subquery predicate is evaluated to NULL.
+ */
+ Read_record_func save_read_first_record;/* to save read_first_record */
+ int (*save_read_record) (READ_RECORD *);/* to save read_record.read_record */
double worst_seeks;
key_map const_keys; /* Keys with constant part */
key_map checked_keys; /* Keys checked in find_best */