]> saetta.ns0.it Git - gdadbcopy/commitdiff
Missing error test.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Fri, 28 Dec 2012 08:05:06 +0000 (09:05 +0100)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Fri, 28 Dec 2012 08:05:06 +0000 (09:05 +0100)
src/main.c

index 04f5d1fb72a6963350f3472721f4b06a99d739eb..eb0b46e8750c0eda261091f04012e0e7cf77f0d3 100644 (file)
@@ -136,7 +136,7 @@ copy_data ()
                                                         sql,
                                                         &error);
                        g_free (sql);
-                       if (dm != NULL)
+                       if (dm != NULL && error == NULL)
                                {
                                        g_printf ("\tTable: %s",
                                                  table->name);