summaryrefslogtreecommitdiff
path: root/sql/partition_info.cc
diff options
context:
space:
mode:
authorunknown <mikael/pappa@dator5.(none)>2006-09-30 17:38:15 -0400
committerunknown <mikael/pappa@dator5.(none)>2006-09-30 17:38:15 -0400
commit417c38db9cf5d94409cbc50f4e2b87345a915e58 (patch)
tree1cb1ca34559e834f40b5625962fae0569aa7a1f5 /sql/partition_info.cc
parentdc9613ca36c5cf45d43b806eccf1e7368ad076b1 (diff)
downloadmariadb-git-417c38db9cf5d94409cbc50f4e2b87345a915e58.tar.gz
BUG#18198: Partition function handling
Review fixes mysql-test/r/partition_range.result: New test cases mysql-test/t/partition_hash.test: New test cases mysql-test/t/partition_range.test: New test cases sql/item.h: Review fixes sql/partition_info.cc: Review fixes sql/sql_partition.cc: Review fixes
Diffstat (limited to 'sql/partition_info.cc')
-rw-r--r--sql/partition_info.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 724464125ea..1f84d3f1e83 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -838,11 +838,12 @@ end:
/*
Print error for no partition found
+
SYNOPSIS
print_no_partition_found()
table Table object
+
RETURN VALUES
- NONE
*/
void partition_info::print_no_partition_found(TABLE *table)
@@ -863,10 +864,11 @@ void partition_info::print_no_partition_found(TABLE *table)
Set up buffers and arrays for fields requiring preparation
SYNOPSIS
set_up_charset_field_preps()
- part_info Partition info object
+
RETURN VALUES
TRUE Memory Allocation error
FALSE Success
+
DESCRIPTION
Set up arrays and buffers for fields that require special care for
calculation of partition id. This is used for string fields with
@@ -1025,5 +1027,4 @@ error:
mem_alloc_error(size);
DBUG_RETURN(TRUE);
}
-#endif
- /* WITH_PARTITION_STORAGE_ENGINE */
+#endif /* WITH_PARTITION_STORAGE_ENGINE */