summaryrefslogtreecommitdiff
path: root/mysys/array.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-10-18 15:54:41 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-18 15:54:41 -0700
commitcb9d3bec4645fc17be233d37677144926317f028 (patch)
tree5184d5820f0965b5e0f11e065f16b15cfea80b61 /mysys/array.c
parent40c43c395bd931dcb9c2ec132f83dd9d610e43d6 (diff)
downloadmariadb-git-cb9d3bec4645fc17be233d37677144926317f028.tar.gz
post-review changes
Diffstat (limited to 'mysys/array.c')
-rw-r--r--mysys/array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/array.c b/mysys/array.c
index fe75f2a536c..f42b7c463a6 100644
--- a/mysys/array.c
+++ b/mysys/array.c
@@ -326,12 +326,12 @@ void delete_dynamic_element(DYNAMIC_ARRAY *array, uint idx)
element, before releasing the memory
SYNOPSIS
- delete_dynamic_recursive()
+ delete_dynamic_with_callback()
array
f The function to be called on every element before
deleting the array;
*/
-void delete_dynamic_recursive(DYNAMIC_ARRAY *array, FREE_FUNC f) {
+void delete_dynamic_with_callback(DYNAMIC_ARRAY *array, FREE_FUNC f) {
uint i;
char *ptr= (char*) array->buffer;
for (i= 0; i < array->elements; i++, ptr+= array->size_of_element) {