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 /include | |
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 'include')
-rw-r--r-- | include/my_sys.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index bb7a9204678..4b4e5b7a22f 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -782,8 +782,9 @@ 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) my_init_dynamic_array2(A,B,NULL,C,D,E) -extern my_bool my_init_dynamic_array2(DYNAMIC_ARRAY *array, uint element_size, +#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, void *init_buffer, uint init_alloc, uint alloc_increment, myf my_flags); extern my_bool insert_dynamic(DYNAMIC_ARRAY *array, const void* element); |