• marko's avatar
    branches/zip: Avoid memory fragmentation when adding column definitions · 0178dba1
    marko authored
    to tables.
    
    dict_mem_table_add_col(): Add the parameter "heap" for temporary memory
    allocation.  Allow it and "name" to be NULL.  These parameters are NULL
    when creating dummy indexes.
    
    dict_add_col_name(): Remove calls to ut_malloc() and ut_free().
    
    dict_table_get_col_name(): Allow table->col_names to be NULL.
    
    dict_table_add_system_columns(), dict_table_add_to_cache():
    Add the parameter "heap".
    0178dba1
dict0mem.c 7.96 KB