Combine functions that bind a column and its length

This commit is contained in:
whydoubt
2004-12-31 01:26:28 +00:00
parent 34f39973a1
commit d06cb3e47d
22 changed files with 71 additions and 92 deletions

View File

@@ -90,7 +90,7 @@ GMdbDataWindow *dataw = NULL;
/* bind columns */
bound_data[i] = (char *) malloc(MDB_BIND_SIZE);
bound_data[i][0] = '\0';
mdb_bind_column(table, i+1, bound_data[i]);
mdb_bind_column(table, i+1, bound_data[i], NULL);
/* display column titles */
col=g_ptr_array_index(table->columns,i);