1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added some missing casts and changed a define for alloca().

This commit is contained in:
jani@a193-229-222-105.elisa-laajakaista.fi
2005-07-20 13:27:57 +03:00
parent 8564322500
commit 0f7639ba15
3 changed files with 6 additions and 5 deletions

View File

@ -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));