mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
init_dynamic_array MyODBC compatibility fix
This commit is contained in:
@ -122,7 +122,7 @@ int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages,
|
||||
if ((sort_keys=(uchar **)my_malloc(keys*(sort_length+sizeof(char*))+
|
||||
HA_FT_MAXLEN, MYF(0))))
|
||||
{
|
||||
if (init_dynamic_array(&buffpek, sizeof(BUFFPEK), maxbuffer,
|
||||
if (my_init_dynamic_array(&buffpek, sizeof(BUFFPEK), maxbuffer,
|
||||
maxbuffer/2))
|
||||
my_free((gptr) sort_keys,MYF(0));
|
||||
else
|
||||
|
Reference in New Issue
Block a user