summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorigor@olga.mysql.com <>2007-05-12 10:54:23 -0700
committerigor@olga.mysql.com <>2007-05-12 10:54:23 -0700
commit82239b3e9c3ccef18cda3531c3e29dc94c92673f (patch)
treedae2b20962e2b9f5326b2d11adc18ffff0fb7656 /sql/sql_select.h
parent5fbb3c156f5c88d112bf87a0d03e7ede9a603e79 (diff)
parent11d5f7ee1c4304425480ed803ef86a3abfe0c05a (diff)
downloadmariadb-git-82239b3e9c3ccef18cda3531c3e29dc94c92673f.tar.gz
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/mysql-5.1-opt
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 */