mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
init_dynamic_array MyODBC compatibility fix
This commit is contained in:
parent
ebbd2668bd
commit
7abf67c5e9
17 changed files with 27 additions and 27 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue