[libgda] Corrected bug in GdaConnection



commit 97afa97d6f749c3dba2969c7a2258851778f098f
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat May 24 18:14:14 2014 +0200

    Corrected bug in GdaConnection

 libgda/gda-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-connection.c b/libgda/gda-connection.c
index 8c59009..624f135 100644
--- a/libgda/gda-connection.c
+++ b/libgda/gda-connection.c
@@ -873,7 +873,7 @@ gda_connection_get_main_context (GdaConnection *cnc, GThread *thread)
        else {
                g_mutex_lock (&global_mutex);
                if (all_context_hash)
-                       context = g_hash_table_lookup (cnc->priv->context_hash, thread);
+                       context = g_hash_table_lookup (all_context_hash, thread);
                g_mutex_unlock (&global_mutex);
        }
 


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