diff options
author | unknown <serg@serg.mysql.com> | 2002-04-28 21:22:37 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-04-28 21:22:37 +0000 |
commit | 7abf67c5e966f6409b13774ef9297ffc7d5ae17f (patch) | |
tree | 5d37a8e2b57f196aff164e8f9f9a596013cc65e5 /client | |
parent | ebbd2668bd8c660d6f7124a06e8a9fdbb4621c59 (diff) | |
download | mariadb-git-7abf67c5e966f6409b13774ef9297ffc7d5ae17f.tar.gz |
init_dynamic_array MyODBC compatibility fix
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlcheck.c | 4 | ||||
-rw-r--r-- | client/mysqltest.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 86507bc0b31..7945407ccae 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -614,8 +614,8 @@ int main(int argc, char **argv) if (dbConnect(current_host, current_user, opt_password)) exit(EX_MYSQLERR); - if (opt_auto_repair && - init_dynamic_array(&tables4repair, sizeof(char)*(NAME_LEN*2+2),16,64)) + if (opt_auto_repair && + my_init_dynamic_array(&tables4repair, sizeof(char)*(NAME_LEN*2+2),16,64)) { first_error = 1; goto end; diff --git a/client/mysqltest.c b/client/mysqltest.c index a007c7778e0..a161b9352d4 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -2360,7 +2360,7 @@ int main(int argc, char** argv) file_stack_end = file_stack + MAX_INCLUDE_DEPTH; cur_file = file_stack; lineno = lineno_stack; - init_dynamic_array(&q_lines, sizeof(struct st_query*), INIT_Q_LINES, + my_init_dynamic_array(&q_lines, sizeof(struct st_query*), INIT_Q_LINES, INIT_Q_LINES); memset(block_stack, 0, sizeof(block_stack)); block_stack_end = block_stack + BLOCK_STACK_DEPTH; |