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 /fs/database.c | |
parent | ebbd2668bd8c660d6f7124a06e8a9fdbb4621c59 (diff) | |
download | mariadb-git-7abf67c5e966f6409b13774ef9297ffc7d5ae17f.tar.gz |
init_dynamic_array MyODBC compatibility fix
Diffstat (limited to 'fs/database.c')
-rw-r--r-- | fs/database.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/database.c b/fs/database.c index 4a328c41618..0ff12e433ee 100644 --- a/fs/database.c +++ b/fs/database.c @@ -243,7 +243,7 @@ int db_show_field(char *b,const char *database,const char *table, const char *fi if (!(database[0] && table[0] && field[0])) DBUG_RETURN(-1); - init_dynamic_array(&field_array, sizeof(buff), 4096, 1024); + my_init_dynamic_array(&field_array, sizeof(buff), 4096, 1024); if (mysql_select_db(sock,database)) { @@ -593,7 +593,7 @@ gptr db_load_functions() int i=0; struct func_st func; DBUG_ENTER("db_load_functions"); - init_dynamic_array(&functions_array, sizeof(struct func_st), 4096, 1024); + my_init_dynamic_array(&functions_array, sizeof(struct func_st), 4096, 1024); while(functions[i]) { strcpy(func.type_s, functions[i]); /* Type in string: "table"` */ strcpy(func.filename, functions[i+1]); /* Name like it appears on FS: "count" */ |