diff options
author | igor@olga.mysql.com <> | 2007-08-03 08:46:01 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-08-03 08:46:01 -0700 |
commit | 9c09b7d523e3be93bfe75cf356e2b95e4ff7e392 (patch) | |
tree | 57acf233e4e48d444a94d365caafa6d0b80fcb0a /sql/sql_select.h | |
parent | b2661dd3794d50293a40151c104a23da78cd0567 (diff) | |
parent | cf39429295846cf944e3fd1a327c554ebd08942d (diff) | |
download | mariadb-git-9c09b7d523e3be93bfe75cf356e2b95e4ff7e392.tar.gz |
Merge olga.mysql.com:/home/igor/mysql-5.1-opt
into olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt-bug28404
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index d1acad1c5d6..efa92432e2b 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -194,6 +194,12 @@ typedef struct st_join_table { enum join_type type; bool cached_eq_ref_table,eq_ref_table,not_used_in_distinct; bool sorted; + /* + If it's not 0 the number stored this field indicates that the index + scan has been chosen to access the table data and we expect to scan + this number of rows for the table. + */ + ha_rows limit; TABLE_REF ref; JOIN_CACHE cache; JOIN *join; |