[libgda] GdaThreadProvider: error reporting corrections
- From: Vivien Malerba <vivien src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgda] GdaThreadProvider: error reporting corrections
- Date: Mon, 14 Sep 2009 20:23:57 +0000 (UTC)
commit f274f7691277ae4b2a4f376c8449e723afc0ae92
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Sep 14 21:42:48 2009 +0200
GdaThreadProvider: error reporting corrections
when committing or rolling back a transaction
libgda/thread-wrapper/gda-thread-provider.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/thread-wrapper/gda-thread-provider.c b/libgda/thread-wrapper/gda-thread-provider.c
index ff3030a..a8775c0 100644
--- a/libgda/thread-wrapper/gda-thread-provider.c
+++ b/libgda/thread-wrapper/gda-thread-provider.c
@@ -952,7 +952,7 @@ gda_thread_provider_commit_transaction (GdaServerProvider *provider, GdaConnecti
jid = gda_thread_wrapper_execute (cdata->wrapper,
(GdaThreadWrapperFunc) sub_thread_commit_transaction, &wdata, NULL, error);
- res = gda_thread_wrapper_fetch_result (cdata->wrapper, TRUE, jid, NULL);
+ res = gda_thread_wrapper_fetch_result (cdata->wrapper, TRUE, jid, error);
return GPOINTER_TO_INT (res) ? TRUE : FALSE;
}
@@ -999,7 +999,7 @@ gda_thread_provider_rollback_transaction (GdaServerProvider *provider, GdaConnec
jid = gda_thread_wrapper_execute (cdata->wrapper,
(GdaThreadWrapperFunc) sub_thread_rollback_transaction, &wdata, NULL, error);
- res = gda_thread_wrapper_fetch_result (cdata->wrapper, TRUE, jid, NULL);
+ res = gda_thread_wrapper_fetch_result (cdata->wrapper, TRUE, jid, error);
return GPOINTER_TO_INT (res) ? TRUE : FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]