diff options
author | monty@hundin.mysql.fi <> | 2002-06-19 00:22:30 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-06-19 00:22:30 +0300 |
commit | 0d8e13979d49b1ea775a51d1e1b465c9621ef92b (patch) | |
tree | df0fd78ddd1c83d577e830a40da77487a62451b7 /sql/table.h | |
parent | b1f7c1251c89cbd49fc20d244e14d07415715b71 (diff) | |
download | mariadb-git-0d8e13979d49b1ea775a51d1e1b465c9621ef92b.tar.gz |
Made keyread (key scanning) a key specific attribute.
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/table.h b/sql/table.h index b6bc3fa8cf1..63b7a9bc2f7 100644 --- a/sql/table.h +++ b/sql/table.h @@ -61,7 +61,8 @@ struct st_table { uint uniques; uint null_fields; /* number of null fields */ uint blob_fields; /* number of blob fields */ - key_map keys_in_use, keys_in_use_for_query; + key_map keys_in_use, keys_for_keyread; + key_map quick_keys, used_keys, keys_in_use_for_query; KEY *key_info; /* data of keys in database */ TYPELIB keynames; /* Pointers to keynames */ ha_rows max_rows; /* create information */ @@ -119,7 +120,6 @@ struct st_table { byte *record_pointers; /* If sorted in memory */ ha_rows found_records; /* How many records in sort */ ORDER *group; - key_map quick_keys, used_keys; ha_rows quick_rows[MAX_KEY]; uint quick_key_parts[MAX_KEY]; key_part_map const_key_parts[MAX_KEY]; |