From 44920b90d87747d170ff0ca53613082593141288 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 16 Oct 2000 02:29:48 +0300 Subject: 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 --- sql/opt_range.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/opt_range.cc') 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; -- cgit v1.2.1