On Mon, 2005-11-14 at 12:56 +0100, Rodrigo Moya wrote: > > This all means that the return code will never be 0 for successful calls that > > return a NULL data model. Setting it explicitly is necessary. > > > ok, could you resend your patch in unified form (cvs diff -up) please? Attached -- 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 -u -p -r1.77 gda-connection.c --- gda-connection.c 25 Sep 2005 13:43:05 -0000 1.77 +++ gda-connection.c 17 Nov 2005 18:58:57 -0000 @@ -909,6 +909,7 @@ gda_connection_execute_non_query (GdaCon 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