Changeset: b87cabb2815c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b87cabb2815c
Modified Files:
        gdk/gdk_utils.c
Branch: default
Log Message:

Reset stopped state required in case of a restarted embedded.


diffs (14 lines):

diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -1202,6 +1202,10 @@ GDKreset(int status)
 
        assert(GDKexiting());
 
+       if (GDKembedded())
+               // In the case of a restarted embedded database, GDKstopped has 
to be reset as well.
+               ATOMIC_SET(&GDKstopped, 0);
+
        if (GDKkey) {
                BBPunfix(GDKkey->batCacheid);
                GDKkey = NULL;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to