mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Fix bug in creating temp tables
This commit is contained in:
parent
2e5179fb63
commit
13e824dbea
@ -1,6 +1,7 @@
|
||||
Thu Aug 26 21:06:35 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
|
||||
* src/libmdb/write.c: Documentation fix
|
||||
* src/sql/lexer.l: Add SQL quote escaping
|
||||
* src/libmdb/worktable.c: Fix bug in creating temp tables
|
||||
|
||||
Tue Aug 24 21:04:17 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
|
||||
* include/mdbsql.h:
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user