Changeset: fa066b721b78 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fa066b721b78
Modified Files:
sql/backends/monet5/copy_convert.c
Branch: default
Log Message:
Use correct extension on 32 bit archs.
diffs (18 lines):
diff --git a/sql/backends/monet5/copy_convert.c
b/sql/backends/monet5/copy_convert.c
--- a/sql/backends/monet5/copy_convert.c
+++ b/sql/backends/monet5/copy_convert.c
@@ -293,7 +293,13 @@ string_sharing_bat(BUN cnt, const char *
b->tvheap = hp;
b->ttype = TYPE_str;
/* upgrade filename */
- strtconcat(b->theap->filename, sizeof(b->theap->filename), nme,
".tail4", NULL);
+ strtconcat(b->theap->filename, sizeof(b->theap->filename), nme,
+#if SIZEOF_VAR_T == 8
+ ".tail4",
+#else
+ ".tail",
+#endif
+ NULL);
return b;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]