Re: [gnome-db] New patch. Closes bug #68577



* [ Rodrigo Moya <rodrigo gnome-db org>
* Thu, 17 Jan 2002 22:33:44 +0100 ]
> >  			status = PQresultStatus(pg_res);
> > -			if (status == PGRES_TUPLES_OK ||
> > +			if (option == GDA_COMMAND_OPTION_IGNORE_ERRORS	||
> >
> and here, use:
> 
> if (option & GDA_COMMAND_OPTION_IGNORE_ERRORS)...

	Ok for the other 2 changes, but this one should be:
 if (option == GDA_COMMAND_OPTION_IGNORE_ERRORS)...

 	Because GDA_COMMAND_OPTION_IGNORE_ERRORS is equal to 0...
	ok?




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