diff options
author | unknown <mikael/pappa@dator5.(none)> | 2006-10-02 15:52:29 -0400 |
---|---|---|
committer | unknown <mikael/pappa@dator5.(none)> | 2006-10-02 15:52:29 -0400 |
commit | 93f4daf1b45f425057138b575caed00d489d002b (patch) | |
tree | 4bca4ca32b026e15672d4d0284b012a03a358a81 /sql/partition_info.cc | |
parent | d8e3aebedec0281c8d8fe14820b7c06663b35ed1 (diff) | |
download | mariadb-git-93f4daf1b45f425057138b575caed00d489d002b.tar.gz |
BUG#18198: Partition function handling
Fixes of after review fixes
mysql-test/r/partition_hash.result:
Fixed test cases
mysql-test/r/partition_range.result:
Fixed test cases
mysql-test/t/partition_range.test:
Fixed test cases
sql/ha_ndbcluster.cc:
Fixed error printout to avoid complex character set code in print_error
sql/ha_partition.cc:
Fixed error printout to avoid complex character set code in print_error
sql/partition_info.cc:
Fixed error printout to avoid complex character set code in print_error
sql/partition_info.h:
Fixed error printout to avoid complex character set code in print_error
sql/sql_partition.cc:
indendentation fix
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r-- | sql/partition_info.cc | 2 |
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); |