[libgda: 10/17] DB: Fixing error message in GdaDbTable
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda: 10/17] DB: Fixing error message in GdaDbTable
- Date: Mon, 25 Nov 2019 18:22:58 +0000 (UTC)
commit 9775333eab41dabf43a929f72a3c782525151695
Author: Pavlo Solntsev <p sun fun gmail com>
Date: Thu Mar 21 08:36:12 2019 -0500
DB: Fixing error message in GdaDbTable
libgda/gda-db-table.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libgda/gda-db-table.c b/libgda/gda-db-table.c
index 27026cd87..769728b9c 100644
--- a/libgda/gda-db-table.c
+++ b/libgda/gda-db-table.c
@@ -917,7 +917,8 @@ gda_db_table_add_column (GdaDbTable *self,
if (!op)
{
- g_warning("ServerOperation is NULL\n");
+ g_set_error (error, GDA_DB_TABLE_ERROR, GDA_DB_TABLE_SERVER_OPERATION,
+ _("ServerOperation is NULL"));
goto on_error;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]