{
field = g_new0 (Field, 1);
field->name = gda_value_stringify (gda_data_model_get_value_at (dm_fields, 0, row, NULL));
- g_message ("\t\tField: %s", field->name);
+ g_message ("\t\tField: %s - %s - %s - %d - %d", field->name,
+ gda_value_stringify (gda_data_model_get_value_at (dm_fields, 1, row, NULL)),
+ gda_value_stringify (gda_data_model_get_value_at (dm_fields, 2, row, NULL)),
+ g_value_get_int (gda_data_model_get_value_at (dm_fields, 3, row, NULL)),
+ g_value_get_int (gda_data_model_get_value_at (dm_fields, 4, row, NULL)));
g_hash_table_insert (table->ht_fields, field->name, field);
}
GOptionContext *context;
GHashTable *ht_ref_db_tables;
- GHashTable *ht_db_tables;
g_type_init ();
ht_ref_db_tables = g_hash_table_new (g_str_hash, g_str_equal);
read_tables (gda_conn_ref_db, ht_ref_db_tables);
- g_message ("Reading tables of database (%s).", db_cnc);
- ht_db_tables = g_hash_table_new (g_str_hash, g_str_equal);
- read_tables (gda_conn_db, ht_db_tables);
-
g_object_unref (gda_conn_ref_db);
g_object_unref (gda_conn_db);