Changeset: 0efbb0a4c44f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0efbb0a4c44f
Modified Files:
        gdk/gdk.h
        gdk/gdk_bbp.c
Branch: unlock
Log Message:

Added some documentation.


diffs (30 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -717,8 +717,9 @@ typedef struct {
 
 #define GDKLIBRARY_BLOB_SORT   061040U /* first in Mar2018: blob compare 
changed */
 #define GDKLIBRARY_OLDDATE     061041U /* first in Apr2019: time/date in old 
format */
-#define GDKLIBRARY_MINMAX_POS  061042U /* first in Nov2019 */
-#define GDKLIBRARY             061043U
+#define GDKLIBRARY_MINMAX_POS  061042U /* first in Nov2019: no min/max 
position; no BBPinfo value */
+/* if the version number is updated, also fix snapshot_bats() in bat_logger.c 
*/
+#define GDKLIBRARY             061043U /* first after Oct2020 */
 
 typedef struct BAT {
        /* static bat properties */
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -745,9 +745,11 @@ heapinit(BAT *b, const char *buf, int *h
        if (strcmp(type, "hge") == 0)
                havehge = true;
 #endif
+#ifdef GDKLIBRARY_BLOB_SORT
        /* sqlblob was changed to plain blob in the Apr2019 release */
        if (strcmp(type, "sqlblob") == 0)
                strcpy(type, "blob");
+#endif
        if ((t = ATOMindex(type)) < 0) {
                if ((t = ATOMunknown_find(type)) == 0) {
                        TRC_CRITICAL(GDK, "no space for atom %s", type);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to