Re: [gnome-db] no results != error



Murray Cumming a écrit :

It looks like gda_connection_execute_single_command() returns a NULL
GdaDataModel when the SQL query returns no rows. It also returns a NULL
GdaDataModel when there was an error with the SQL query. I don't think
they are the same thing. Can't it just return a GdaDataModel with zero
rows (and maybe some columns)?

I have the same problem with gda_connection_execute_single_command. Is there a way to get errors from gda_connection_execute_single_command when there is an error with the SQL query ?

Best regards




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