summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-04-28 21:22:37 +0000
committerunknown <serg@serg.mysql.com>2002-04-28 21:22:37 +0000
commit7abf67c5e966f6409b13774ef9297ffc7d5ae17f (patch)
tree5d37a8e2b57f196aff164e8f9f9a596013cc65e5 /extra
parentebbd2668bd8c660d6f7124a06e8a9fdbb4621c59 (diff)
downloadmariadb-git-7abf67c5e966f6409b13774ef9297ffc7d5ae17f.tar.gz
init_dynamic_array MyODBC compatibility fix
Diffstat (limited to 'extra')
-rw-r--r--extra/mysql_install.c2
-rw-r--r--extra/resolve_stack_dump.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/extra/mysql_install.c b/extra/mysql_install.c
index 1fa62f35b7e..d02c054d4eb 100644
--- a/extra/mysql_install.c
+++ b/extra/mysql_install.c
@@ -135,7 +135,7 @@ static int init_question_widget(QUESTION_WIDGET* w, const char* question,
}
w->question = question;
w->default_ind = default_ind;
- if (init_dynamic_array(&w->answers,sizeof(char*),
+ if (my_init_dynamic_array(&w->answers,sizeof(char*),
ANSWERS_CHUNCK,ANSWERS_CHUNCK))
die("Out of memory");
return 0;
diff --git a/extra/resolve_stack_dump.c b/extra/resolve_stack_dump.c
index 6c2ddf66027..7c33bd51dbe 100644
--- a/extra/resolve_stack_dump.c
+++ b/extra/resolve_stack_dump.c
@@ -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))
{