For 64-bit integers we need to use type lng, not type long. MSRecord.samplecnt is defined as int64_t, i.e., a 64-bit integer; hence, in MonetDB, we use type lng, not type long.
For 64-bit integers we need to use type lng, not type long.
MSRecord.samplecnt is defined as int64_t, i.e., a 64-bit integer;
hence, in MonetDB, we use type lng, not type long.

PLEASE NOTE:
Ceterum censeo type long MUST NOT be used as it is everything but portable;
for instance, on our beloved Windows platforms, long is always 32-bit,
even on 64-bit systems.
(transplanted from 32b9bc615b3e1171ca5148608c297383d86a05f3)

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb