mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@ -297,7 +297,6 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
|
||||
double current_read_time, const char *info)
|
||||
{
|
||||
uint i;
|
||||
POSITION pos;
|
||||
JOIN_TAB *join_table;
|
||||
JOIN_TAB **plan_nodes;
|
||||
TABLE* table;
|
||||
@ -324,8 +323,8 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
|
||||
fputs(" POSITIONS: ", DBUG_FILE);
|
||||
for (i= 0; i < idx ; i++)
|
||||
{
|
||||
pos = join->positions[i];
|
||||
table= pos.table->table;
|
||||
POSITION *pos= join->positions + i;
|
||||
table= pos->table->table;
|
||||
if (table)
|
||||
fputs(table->s->table_name.str, DBUG_FILE);
|
||||
fputc(' ', DBUG_FILE);
|
||||
@ -341,8 +340,8 @@ print_plan(JOIN* join, uint idx, double record_count, double read_time,
|
||||
fputs("BEST_POSITIONS: ", DBUG_FILE);
|
||||
for (i= 0; i < idx ; i++)
|
||||
{
|
||||
pos= join->best_positions[i];
|
||||
table= pos.table->table;
|
||||
POSITION *pos= join->best_positions + i;
|
||||
table= pos->table->table;
|
||||
if (table)
|
||||
fputs(table->s->table_name.str, DBUG_FILE);
|
||||
fputc(' ', DBUG_FILE);
|
||||
|
Reference in New Issue
Block a user