[libgda/LIBGDA_4.2] Don't change the GdaDataSelect::auto-reset property without the use knowing it
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_4.2] Don't change the GdaDataSelect::auto-reset property without the use knowing it
- Date: Sun, 6 Nov 2011 17:52:29 +0000 (UTC)
commit 6d1316a91e3ff1039cf594b997b2d4a98ef8adec
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Nov 6 18:10:47 2011 +0100
Don't change the GdaDataSelect::auto-reset property without the use knowing it
libgda/sqlite/gda-sqlite-provider.c | 2 --
providers/postgres/gda-postgres-provider.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libgda/sqlite/gda-sqlite-provider.c b/libgda/sqlite/gda-sqlite-provider.c
index 0f74942..0b8687d 100644
--- a/libgda/sqlite/gda-sqlite-provider.c
+++ b/libgda/sqlite/gda-sqlite-provider.c
@@ -3093,8 +3093,6 @@ gda_sqlite_provider_statement_execute (GdaServerProvider *provider, GdaConnectio
gda_connection_internal_statement_executed (cnc, stmt, params, NULL);
if (new_ps)
g_object_unref (ps);
- if (allow_noparam)
- g_object_set (data_model, "auto-reset", TRUE, NULL);
pending_blobs_free_list (blobs_list);
return data_model;
}
diff --git a/providers/postgres/gda-postgres-provider.c b/providers/postgres/gda-postgres-provider.c
index 9a2180a..f8d01ca 100644
--- a/providers/postgres/gda-postgres-provider.c
+++ b/providers/postgres/gda-postgres-provider.c
@@ -2196,8 +2196,6 @@ gda_postgres_provider_statement_execute (GdaServerProvider *provider, GdaConnect
}
else if (status == PGRES_TUPLES_OK) {
retval = (GObject*) gda_postgres_recordset_new_random (cnc, ps, params, pg_res, col_types);
- if (allow_noparam)
- g_object_set (retval, "auto-reset", TRUE, NULL);
}
else {
PQclear (pg_res);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]