diff options
author | unknown <jani@a193-229-222-105.elisa-laajakaista.fi> | 2005-07-20 13:27:57 +0300 |
---|---|---|
committer | unknown <jani@a193-229-222-105.elisa-laajakaista.fi> | 2005-07-20 13:27:57 +0300 |
commit | 44589256c842d3694acebbc1284ef9f61806b1f7 (patch) | |
tree | 15315242bff5e24b976dc8bebb97477fd3a000cd /client | |
parent | 5dd494394c43e6e19d4460ae3845a958d62576c2 (diff) | |
download | mariadb-git-44589256c842d3694acebbc1284ef9f61806b1f7.tar.gz |
Added some missing casts and changed a define for alloca().
client/mysqldump.c:
Added casts.
include/my_sys.h:
Define for alloca() changed for Metrowerks compiler.
myisam/rt_split.c:
Added cast.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 4d340cb4051..d29667052ee 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -2321,9 +2321,9 @@ static int dump_selected_tables(char *db, char **table_names, int tables) { const char *table_name= hash_element(&dump_tables, i); DBUG_PRINT("info",("Dumping table %s", table_name)); - numrows= getTableStructure(table_name, db); + numrows= getTableStructure((char*) table_name, db); if (!dFlag && numrows > 0) - dumpTable(numrows, table_name); + dumpTable(numrows, (char*) table_name); } hash_free(&dump_tables); my_free(order_by, MYF(MY_ALLOW_ZERO_PTR)); |