Commit 78860498 authored by marko's avatar marko

Correct an outdated comment about dict_table_t:col_names that should have

been adjusted in r1719, or r1264 in branches/zip.
parent 8d588600
...@@ -315,11 +315,11 @@ struct dict_table_struct{ ...@@ -315,11 +315,11 @@ struct dict_table_struct{
unsigned n_cols:10;/* number of columns */ unsigned n_cols:10;/* number of columns */
dict_col_t* cols; /* array of column descriptions */ dict_col_t* cols; /* array of column descriptions */
const char* col_names; const char* col_names;
/* n_def column names packed in an /* Column names packed in a character string
"name1\0name2\0...nameN\0" array. until "name1\0name2\0...nameN\0". Until
n_def reaches n_cols, this is allocated with the string contains n_cols, it will be
ut_malloc, and the final size array is allocated from a temporary heap. The final
allocated through the table's heap. */ string will be allocated from table->heap. */
hash_node_t name_hash; /* hash chain node */ hash_node_t name_hash; /* hash chain node */
hash_node_t id_hash; /* hash chain node */ hash_node_t id_hash; /* hash chain node */
UT_LIST_BASE_NODE_T(dict_index_t) UT_LIST_BASE_NODE_T(dict_index_t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment