diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 22:26:13 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 22:26:13 +0100 |
commit | 06be773cdb24198a408ae17ae3c8ee18b6ca8b36 (patch) | |
tree | f10595fd49ce0862291ad8941434ff964e12ace9 /mysys/array.c | |
parent | 10740939eb824bbd792352f654380e258edd7675 (diff) | |
download | mariadb-git-06be773cdb24198a408ae17ae3c8ee18b6ca8b36.tar.gz |
Revert revision sergii@pisem.net-20130123151853-xc6i3l11aqv0iykk
Rename back my_init_dynamic_array2() -> init_dynamic_array2()
It happens to be a part of the de facto API :(
Diffstat (limited to 'mysys/array.c')
-rw-r--r-- | mysys/array.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysys/array.c b/mysys/array.c index e92c5b45e67..a8c5d181638 100644 --- a/mysys/array.c +++ b/mysys/array.c @@ -22,7 +22,7 @@ Initiate dynamic array SYNOPSIS - my_init_dynamic_array2() + init_dynamic_array2() array Pointer to an array element_size Size of element init_buffer Initial buffer pointer @@ -31,7 +31,7 @@ my_flags Flags to my_malloc DESCRIPTION - my_init_dynamic_array2() initiates array and allocate space for + init_dynamic_array() initiates array and allocate space for init_alloc eilements. Array is usable even if space allocation failed, hence, the function never returns TRUE. @@ -41,11 +41,11 @@ FALSE Ok */ -my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size, +my_bool init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size, void *init_buffer, uint init_alloc, uint alloc_increment, myf my_flags) { - DBUG_ENTER("my_init_dynamic_array2"); + DBUG_ENTER("init_dynamic_array2"); if (!alloc_increment) { alloc_increment=MY_MAX((8192-MALLOC_OVERHEAD)/element_size,16); |