[libgda] GdaSqlRecordset: fix return value on fail for fetch_next()
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaSqlRecordset: fix return value on fail for fetch_next()
- Date: Wed, 13 Feb 2019 17:50:39 +0000 (UTC)
commit 435d7a73d810fdc85603f4a5bfbb6710c7078946
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Tue Feb 12 16:24:02 2019 -0600
GdaSqlRecordset: fix return value on fail for fetch_next()
libgda/sqlite/gda-sqlite-recordset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/sqlite/gda-sqlite-recordset.c b/libgda/sqlite/gda-sqlite-recordset.c
index c470ff521..a9deb6bb5 100644
--- a/libgda/sqlite/gda-sqlite-recordset.c
+++ b/libgda/sqlite/gda-sqlite-recordset.c
@@ -776,7 +776,7 @@ gda_sqlite_recordset_fetch_next (GdaDataSelect *model, GdaRow **prow, gint rownu
gda_data_select_add_exception (GDA_DATA_SELECT (model), lerror);
if (error)
g_propagate_error (error, g_error_copy (lerror));
- return TRUE;
+ return FALSE;
}
*prow = fetch_next_sqlite_row (imodel, FALSE, error);
imodel->priv->tmp_row = *prow;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]