mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
ORDER BY optimization
Fixed new bug when reading field types client/mysql.cc: Fixed output for -T libmysql/libmysql.c: Filled missing fields in new MYSQL_FIELD structure Fixed new bug when reading field types mysql-test/r/order_by.result: Result after new order by optimization sql/opt_range.cc: New ORDER BY optimization sql/opt_range.h: New ORDER BY optimization sql/set_var.cc: Speed optimization sql/sql_select.cc: New ORDER BY optimization This alllows MySQL to change a ref/range index from (a,b) to (a,c) when 'b' was not used to find rows and one did ORDER BY a,c or ORDER BY c
This commit is contained in:
@ -70,7 +70,7 @@ class QUICK_SELECT {
|
||||
public:
|
||||
bool next,dont_free;
|
||||
int error;
|
||||
uint index,max_used_key_length;
|
||||
uint index, max_used_key_length, used_key_parts;
|
||||
TABLE *head;
|
||||
handler *file;
|
||||
byte *record;
|
||||
|
Reference in New Issue
Block a user