diff options
author | serg@serg.mylan <> | 2003-10-11 13:06:55 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2003-10-11 13:06:55 +0200 |
commit | 8cc3951c8f00bbb4f66322c861cabb123122b4f3 (patch) | |
tree | ff3da12e7e88d561877cd7b6f3fe64edad0c10c0 /sql/opt_range.h | |
parent | 9be83de693748e795ffb7f75ee47f3e7f77145b7 (diff) | |
download | mariadb-git-8cc3951c8f00bbb4f66322c861cabb123122b4f3.tar.gz |
key_map with more that 64 bits width
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index 00736bfc22f..4931f6f007e 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -128,7 +128,7 @@ class SQL_SELECT :public Sql_alloc { SQL_SELECT(); ~SQL_SELECT(); bool check_quick(bool force_quick_range=0, ha_rows limit = HA_POS_ERROR) - { return test_quick_select(~0L,0,limit, force_quick_range) < 0; } + { return test_quick_select(key_map(~0),0,limit, force_quick_range) < 0; } inline bool skipp_record() { return cond ? cond->val_int() == 0 : 0; } int test_quick_select(key_map keys,table_map prev_tables,ha_rows limit, bool force_quick_range=0); |