summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2006-02-25 00:41:37 +0300
committerunknown <sergefp@mysql.com>2006-02-25 00:41:37 +0300
commit7375fe240c1b4e2b3705cf477c48b886c8ecc2dc (patch)
tree7d01322fd9beb36b1e5aed35d1531bbeb4d130c7 /sql/opt_range.cc
parentdb8392d67d7ef8f0e5c336d48ed3ab8ba2f7c014 (diff)
downloadmariadb-git-7375fe240c1b4e2b3705cf477c48b886c8ecc2dc.tar.gz
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"
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 562c343e6da..0028bbc1ec3 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -3108,7 +3108,7 @@ static void dbug_print_segment_range(SEL_ARG *arg, KEY_PART *part)
fputs(" < ", DBUG_FILE);
else
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);
}
fputs("\n", DBUG_FILE);