diff options
author | unknown <evgen@moonbone.local> | 2006-08-30 22:11:23 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2006-08-30 22:11:23 +0400 |
commit | 00c24198cb8929150636be82eb01aa806e26ab67 (patch) | |
tree | 176ee4cafc594ea883a552488d32eed568c16aca | |
parent | f57382196baec5f1e92a49ed82415833c34ef59a (diff) | |
download | mariadb-git-00c24198cb8929150636be82eb01aa806e26ab67.tar.gz |
sql_base.cc, ndb_condition_pushdown.result, opt_range.cc:
After merge changes
mysql-test/r/ndb_condition_pushdown.result:
After merge changes
sql/sql_base.cc:
After merge changes
sql/opt_range.cc:
After merge changes
-rw-r--r-- | mysql-test/r/ndb_condition_pushdown.result | 6 | ||||
-rw-r--r-- | sql/opt_range.cc | 5 | ||||
-rw-r--r-- | sql/sql_base.cc | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/mysql-test/r/ndb_condition_pushdown.result b/mysql-test/r/ndb_condition_pushdown.result index 6333466a8e3..a484cbfe608 100644 --- a/mysql-test/r/ndb_condition_pushdown.result +++ b/mysql-test/r/ndb_condition_pushdown.result @@ -1307,7 +1307,7 @@ select auto from t1 where ('1901-01-01 01:01:01' between date_time and date_time) order by auto; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 range medium_index medium_index 3 NULL 10 Using where with pushed condition; Using filesort +1 SIMPLE t1 range medium_index medium_index 3 NULL 1 Using where with pushed condition; Using filesort select auto from t1 where ("aaaa" between string and string) and ("aaaa" between vstring and vstring) and @@ -1409,7 +1409,7 @@ select auto from t1 where ('1901-01-01 01:01:01' not between date_time and date_time) order by auto; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 range medium_index medium_index 3 NULL 20 Using where with pushed condition; Using filesort +1 SIMPLE t1 range medium_index medium_index 3 NULL 3 Using where with pushed condition; Using filesort select auto from t1 where ("aaaa" not between string and string) and ("aaaa" not between vstring and vstring) and @@ -1565,7 +1565,7 @@ time_field not in('01:01:01','03:03:03') and date_time not in('1901-01-01 01:01:01','1903-03-03 03:03:03') order by auto; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 range medium_index medium_index 3 NULL 2 Using where with pushed condition; Using filesort +1 SIMPLE t1 range medium_index medium_index 3 NULL 6 Using where with pushed condition; Using filesort select auto from t1 where string not in("aaaa","cccc") and vstring not in("aaaa","cccc") and diff --git a/sql/opt_range.cc b/sql/opt_range.cc index e95a5cb87e2..3f133924469 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -4498,7 +4498,7 @@ TRP_ROR_INTERSECT *get_best_covering_ror_intersect(PARAM *param, MY_BITMAP *covered_fields= ¶m->tmp_covered_fields; if (!covered_fields->bitmap) - covered_fields->bitmap= (uchar*)alloc_root(param->mem_root, + covered_fields->bitmap= (my_bitmap_map*)alloc_root(param->mem_root, param->fields_bitmap_size); if (!covered_fields->bitmap || bitmap_init(covered_fields, covered_fields->bitmap, @@ -5153,7 +5153,8 @@ static SEL_TREE *get_func_mm_tree(RANGE_OPT_PARAM *param, Item_func *cond_func, Pointer to the tree representing the built conjunction of SEL_TREEs */ -static SEL_TREE *get_full_func_mm_tree(PARAM *param, Item_func *cond_func, +static SEL_TREE *get_full_func_mm_tree(RANGE_OPT_PARAM *param, + Item_func *cond_func, Item_field *field_item, Item *value, bool inv) { diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 7e1aad3b6e0..7e5acb6d9aa 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -5482,7 +5482,7 @@ bool setup_tables_and_check_access(THD *thd, TABLE_LIST *tables, TABLE_LIST **leaves, bool select_insert, - ulong_want_access_first, + ulong want_access_first, ulong want_access) { TABLE_LIST *leaves_tmp= NULL; |