mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MariaDB 5.2 -> MariaDB 5.3 merge
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
||||
double records= rows2double(s->table->file->stats.records);
|
||||
|
||||
/* The cost is entire index scan cost (divided by 2) */
|
||||
double read_time= s->table->file->index_only_read_time(key, records);
|
||||
double read_time= s->table->file->keyread_read_time(key, 1, records);
|
||||
|
||||
/*
|
||||
Now find out how many different keys we will get (for now we
|
||||
|
Reference in New Issue
Block a user