mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-22 02:52:05 +08:00
Fix bug in creating temp tables
This commit is contained in:
@@ -70,5 +70,7 @@ mdb_temp_table_add_col(MdbTableDef *table, MdbColumn *col)
|
||||
{
|
||||
col->col_num = table->num_cols;
|
||||
g_ptr_array_add(table->columns, g_memdup(col, sizeof(MdbColumn)));
|
||||
if (!col->is_fixed)
|
||||
table->num_var_cols++;
|
||||
table->num_cols++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user