Changeset: e9722bdb35ed for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e9722bdb35ed
Modified Files:
        gdk/gdk_bbp.c
Branch: Jul2015
Log Message:

Refuse to upgrade databases that are too old.
The SQL catalog upgrade doesn't work (aborts) for databases older than
Oct2014_SP2.  As it happens, that release also introduced a new BBP
version.  Trigger on that to abort early.


diffs (11 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -952,7 +952,6 @@ BBPheader(FILE *fp, oid *BBPoid, int *OI
                exit(1);
        }
        if (bbpversion != GDKLIBRARY &&
-           bbpversion != GDKLIBRARY_INET_COMPARE &&
            bbpversion != GDKLIBRARY_64_BIT_INT) {
                GDKfatal("BBPinit: incompatible BBP version: expected 0%o, got 
0%o.", GDKLIBRARY, bbpversion);
        }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to