Commit 4e7f03e8 authored by unknown's avatar unknown

Fix a typo in dbug printout


sql/opt_range.cc:
  Fix a typo in dbug printout: print "min_val < partitioning_field < max_val",
  not "max_val < partitioning_field < max_val"
parent 89bb7af7
...@@ -3108,7 +3108,7 @@ static void dbug_print_segment_range(SEL_ARG *arg, KEY_PART *part) ...@@ -3108,7 +3108,7 @@ static void dbug_print_segment_range(SEL_ARG *arg, KEY_PART *part)
fputs(" < ", DBUG_FILE); fputs(" < ", DBUG_FILE);
else else
fputs(" <= ", DBUG_FILE); fputs(" <= ", DBUG_FILE);
store_key_image_to_rec(part->field, (char*)(arg->min_value), part->length); store_key_image_to_rec(part->field, (char*)(arg->max_value), part->length);
dbug_print_field(part->field); dbug_print_field(part->field);
} }
fputs("\n", DBUG_FILE); fputs("\n", DBUG_FILE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment