]> saetta.ns0.it Git - libgdaex/commitdiff
Show field type and size in metastore test.
authorAndrea Zagli <andrea.zagli@email.it>
Wed, 3 Jan 2018 15:22:33 +0000 (16:22 +0100)
committerAndrea Zagli <andrea.zagli@email.it>
Wed, 3 Jan 2018 15:22:33 +0000 (16:22 +0100)
tests/metastore.c

index 657d7bf53f10e0e8597aceda4be81d9b6d78183d..f3f89d8f1ee335af3c6fa180983baac4db73d1e5 100644 (file)
@@ -56,8 +56,10 @@ main (int argc, char **argv)
                                                        rowsf = gda_data_model_get_n_rows (dmf);
                                                        for (rowf = 0; rowf < rowsf; rowf++)
                                                                {
-                                                                       g_printf ("\t- %s\n",
-                                                                                 gdaex_data_model_get_value_stringify_at (dmf, rowf, 0));
+                                                                       g_printf ("\t- %s (%s - %d)\n",
+                                                                                 gdaex_data_model_get_value_stringify_at (dmf, rowf, 0),
+                                                                                 gdaex_data_model_get_value_stringify_at (dmf, rowf, 1),
+                                                                                 gdaex_data_model_get_value_integer_at (dmf, rowf, 3));
                                                                }
                                                        g_object_unref (dmf);
                                                }