1
0
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:
serg@serg.mysql.com
2002-04-28 21:22:37 +00:00
parent e2f1993a1d
commit 900788b2a1
17 changed files with 27 additions and 27 deletions

View File

@ -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