diff options
author | unknown <monty@donna.mysql.com> | 2000-10-16 02:29:48 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-16 02:29:48 +0300 |
commit | 9c019f4e4fc4d34f3c82723d1182f0917b9c5360 (patch) | |
tree | 5027f963ce243feb9758c98bc0d3be35c3b4c614 /sql/opt_range.cc | |
parent | d78f9840978cf60b73f13f6a5201ed5593636573 (diff) | |
download | mariadb-git-9c019f4e4fc4d34f3c82723d1182f0917b9c5360.tar.gz |
Automatic primary key for BDB tables
sql/field.h:
Cleanup
sql/filesort.cc:
Cleanup
sql/opt_range.cc:
Remove index in use
sql/sql_base.cc:
Allow Berkeley DB tables used only the index when the query only uses
the index + data from the primary key
sql/sql_select.cc:
Fix for left join optimization
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 6ff74b436aa..442597bbfad 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -2347,6 +2347,7 @@ bool QUICK_SELECT::unique_key_range() QUICK_SELECT *get_quick_select_for_ref(TABLE *table, TABLE_REF *ref) { + table->file->index_end(); // Remove old cursor QUICK_SELECT *quick=new QUICK_SELECT(table, ref->key, 1); KEY *key_info = &table->key_info[ref->key]; KEY_PART *key_part; |