summaryrefslogtreecommitdiff
path: root/include/my_sys.h
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 /include/my_sys.h
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 'include/my_sys.h')
-rw-r--r--include/my_sys.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 8f19293deb0..62e194157eb 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -785,9 +785,8 @@ extern my_bool real_open_cached_file(IO_CACHE *cache);
extern void close_cached_file(IO_CACHE *cache);
File create_temp_file(char *to, const char *dir, const char *pfx,
int mode, myf MyFlags);
-#define my_init_dynamic_array(A,B,C,D,E) init_dynamic_array2(A,B,NULL,C,D,E)
-#define my_init_dynamic_array2(A,B,C,D,E,F) init_dynamic_array2(A,B,C,D,E,F)
-extern my_bool init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
+#define my_init_dynamic_array(A,B,C,D,E) my_init_dynamic_array2(A,B,NULL,C,D,E)
+extern my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size,
void *init_buffer, uint init_alloc,
uint alloc_increment, myf my_flags);
extern my_bool insert_dynamic(DYNAMIC_ARRAY *array, const uchar * element);