mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
init_dynamic_array MyODBC compatibility fix
This commit is contained in:
@@ -230,9 +230,9 @@ static int init_sym_entry(SYM_ENTRY* se, char* buf)
|
||||
static void init_sym_table()
|
||||
{
|
||||
char buf[512];
|
||||
if(init_dynamic_array(&sym_table, sizeof(SYM_ENTRY), INIT_SYM_TABLE,
|
||||
if(my_init_dynamic_array(&sym_table, sizeof(SYM_ENTRY), INIT_SYM_TABLE,
|
||||
INC_SYM_TABLE))
|
||||
die("Failed in init_dynamic_array() -- looks like out of memory problem");
|
||||
die("Failed in my_init_dynamic_array() -- looks like out of memory problem");
|
||||
|
||||
while(fgets(buf, sizeof(buf), fp_sym))
|
||||
{
|
||||
|
Reference in New Issue
Block a user