From: Andrea Zagli Date: Fri, 28 Dec 2012 08:05:06 +0000 (+0100) Subject: Missing error test. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=18e2e1b7a6348e43e3d4381ef926194ae4d17d76;p=gdadbcopy Missing error test. --- diff --git a/src/main.c b/src/main.c index 04f5d1f..eb0b46e 100644 --- a/src/main.c +++ b/src/main.c @@ -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);