[gnome-db] [PATCH] libgda/gda-connection.c



Fixes the return code in gda_connection_execute_non_query.

-- 
Bob Ham <rah bash sh>
Index: gda-connection.c
===================================================================
RCS file: /cvs/gnome/libgda/libgda/gda-connection.c,v
retrieving revision 1.77
diff -u -r1.77 gda-connection.c
--- gda-connection.c	25 Sep 2005 13:43:05 -0000	1.77
+++ gda-connection.c	31 Oct 2005 18:25:25 -0000
@@ -909,6 +909,7 @@
 	if (!reclist)
 		return -1;
 
+	result = 0;
 	model = (GdaDataModel *) reclist->data;
 	if (GDA_IS_DATA_MODEL (model))
 		result = gda_data_model_get_n_rows (model);

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]