summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authormikael/pappa@dator5.(none) <>2006-10-02 15:52:29 -0400
committermikael/pappa@dator5.(none) <>2006-10-02 15:52:29 -0400
commit1cdf82e012148370a721d9c4ac5c3cc9bcba00ba (patch)
tree4bca4ca32b026e15672d4d0284b012a03a358a81 /sql/partition_info.cc
parent74c7f60d45e8285b17e2ecac71b33b35114be975 (diff)
downloadmariadb-git-1cdf82e012148370a721d9c4ac5c3cc9bcba00ba.tar.gz
BUG#18198: Partition function handling
Fixes of after review fixes
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r--sql/partition_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 1f84d3f1e83..2a06a649eca 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -855,7 +855,7 @@ void partition_info::print_no_partition_found(TABLE *table)
if (part_expr->null_value)
buf_ptr= (char*)"NULL";
else
- longlong2str(part_expr->val_int(), buf,
+ longlong2str(err_value, buf,
part_expr->unsigned_flag ? 10 : -10);
my_error(ER_NO_PARTITION_FOR_GIVEN_VALUE, MYF(0), buf_ptr);
dbug_tmp_restore_column_map(table->read_set, old_map);