summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2003-06-12 04:29:02 -0700
committerigor@rurik.mysql.com <>2003-06-12 04:29:02 -0700
commitf547f2769f6419384d2def370d579e1d672dec5e (patch)
tree0a5a6a2ab9cef24b378ef32a9096714667680cc5 /sql/sql_base.cc
parent7009100cde6a20913eee42f9dba6d81ad3014e70 (diff)
downloadmariadb-git-f547f2769f6419384d2def370d579e1d672dec5e.tar.gz
Many files:
New feature: preload indexes into key cache. mi_preload.c: new file Many files: Added preload statement.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index fc95f5deb40..c7db77e1d84 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -35,8 +35,6 @@ static int open_unireg_entry(THD *thd,TABLE *entry,const char *db,
const char *name, const char *alias);
static void free_cache_entry(TABLE *entry);
static void mysql_rm_tmp_tables(void);
-static key_map get_key_map_from_key_list(TABLE *table,
- List<String> *index_list);
extern "C" byte *table_cache_key(const byte *record,uint *length,
@@ -2058,8 +2056,8 @@ bool setup_tables(TABLE_LIST *tables)
}
-static key_map get_key_map_from_key_list(TABLE *table,
- List<String> *index_list)
+key_map get_key_map_from_key_list(TABLE *table,
+ List<String> *index_list)
{
key_map map=0;
List_iterator_fast<String> it(*index_list);