diff options
author | unknown <igor@olga.mysql.com> | 2007-08-03 08:46:01 -0700 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-08-03 08:46:01 -0700 |
commit | 4b8ecfce5ec0b664a335b471429ec7623c2849cc (patch) | |
tree | 57acf233e4e48d444a94d365caafa6d0b80fcb0a /sql/sql_select.h | |
parent | d6bef8a5c5e4912025ba01146b10e343e974289a (diff) | |
parent | c90493749aa8736c76b5765cda0ca925864bbe37 (diff) | |
download | mariadb-git-4b8ecfce5ec0b664a335b471429ec7623c2849cc.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
mysql-test/r/group_by.result:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_select.h:
Auto merged
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; |