summaryrefslogtreecommitdiff
path: root/mysys/array.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-01-23 16:18:53 +0100
committerSergei Golubchik <sergii@pisem.net>2013-01-23 16:18:53 +0100
commite3f08e7e0bbc56cd401bb1031827571498c15904 (patch)
tree4724a2ea1a822489f3ad1a88969585a512b57ac6 /mysys/array.c
parent682da0aa750c059a4f81fadcdf42c9211602eda7 (diff)
downloadmariadb-git-e3f08e7e0bbc56cd401bb1031827571498c15904.tar.gz
cleanup: remove unused init_dynamic_array and init_dynamic_array2 symbols,
as only my_init_dynamic_array and my_init_dynamic_array2 are used everywhere. fix ha_cassandra to compile.
Diffstat (limited to 'mysys/array.c')
-rw-r--r--mysys/array.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysys/array.c b/mysys/array.c
index 5aa1b1abb88..f72b8951870 100644
--- a/mysys/array.c
+++ b/mysys/array.c
@@ -22,7 +22,7 @@
Initiate dynamic array
SYNOPSIS
- init_dynamic_array2()
+ my_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
- init_dynamic_array() initiates array and allocate space for
+ my_init_dynamic_array2() 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 init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
+my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
void *init_buffer, uint init_alloc,
uint alloc_increment, myf my_flags)
{
- DBUG_ENTER("init_dynamic_array2");
+ DBUG_ENTER("my_init_dynamic_array2");
if (!alloc_increment)
{
alloc_increment=max((8192-MALLOC_OVERHEAD)/element_size,16);