Changeset: a64241dd1c60 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a64241dd1c60
Modified Files:
        gdk/gdk_bbp.c
Branch: Sep2022
Log Message:

Move assert.


diffs (25 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -3675,9 +3675,9 @@ BBPcheckHeap(bool subcommit, Heap *h)
                        if (path == NULL)
                                return;
                        if (MT_stat(path, &statb) < 0) {
-                               assert(0);
                                GDKsyserror("cannot stat file %s (expected size 
%zu)\n",
                                            path, h->free);
+                               assert(0);
                                GDKfree(path);
                                return;
                        }
@@ -3687,9 +3687,9 @@ BBPcheckHeap(bool subcommit, Heap *h)
                if (path == NULL)
                        return;
                if (MT_stat(path, &statb) < 0) {
-                       assert(0);
                        GDKsyserror("cannot stat file %s (expected size %zu)\n",
                                    path, h->free);
+                       assert(0);
                        GDKfree(path);
                        return;
                }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to