Changeset: 627199b5968f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/627199b5968f Modified Files: clients/Tests/exports.stable.out gdk/gdk.h gdk/gdk_atoms.h gdk/gdk_bbp.c monetdb5/mal/mal_instruction.c sql/backends/monet5/sql_scenario.c sql/storage/sql_storage.h Branch: no_type_bat Log Message:
merged with default diffs (truncated from 1043 to 300 lines): diff --git a/.bumpversion.cfg b/.bumpversion.cfg --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 11.48.0 +current_version = 11.50.0 commit = False tag = False diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -815,3 +815,4 @@ 6f88424ebfd9d82c072cf21d89070e04321983da 6f88424ebfd9d82c072cf21d89070e04321983da Jun2023_SP2_release e6eb06773c17035954ac5d001cfe1f09ff3425cc Jun2023_13 5683fd900f28d65ad7c98d1ed1efd992023a7fa4 Jun2023_15 +c5b17681b55e6ca155db28be59913699e561502a Dec2023_root diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,20 +1,3 @@ # ChangeLog file for devel # This file is updated with Maddlog -* Mon Oct 30 2023 Sjoerd Mullender <sjo...@acm.org> -- The ranges of merge partitions are now pushed down into the low - level GDK operations, giving them a handle to sometimes execute more - efficiently. - -* Thu Jul 27 2023 Niels Nes <ni...@cwi.nl> -- Removed the PYTHON MAP external language option, as after a fork the - synchronization primitives could be in any state, leading to deadlocks. - During the upgrade function definitions will fallback to the normal - PYTHON language option. - -* Mon Jul 17 2023 Panagiotis Koutsourakis <kutsu...@monetdbsolutions.com> -- Implemented direct masking for strimp construction. The strimps - datastructure now keeps an array of 65K 64-bit integers that is zero - everywhere except at the indexes that correspond to header pairs. The - entry for the nth pair in order has the nth bit of the bitstring - on. These can be used to quickly construct bitstrings. diff --git a/ChangeLog b/ChangeLog.Dec2023 copy from ChangeLog copy to ChangeLog.Dec2023 diff --git a/MonetDB.spec b/MonetDB.spec --- a/MonetDB.spec +++ b/MonetDB.spec @@ -7,7 +7,7 @@ # Copyright 1997 - July 2008 CWI, August 2008 - 2023 MonetDB B.V. %global name MonetDB -%global version 11.48.0 +%global version 11.50.0 %{!?buildno: %global buildno %(date +%Y%m%d)} # Use bcond_with to add a --with option; i.e., "without" is default. diff --git a/clients/ChangeLog b/clients/ChangeLog.Dec2023 copy from clients/ChangeLog copy to clients/ChangeLog.Dec2023 diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out --- a/clients/Tests/exports.stable.out +++ b/clients/Tests/exports.stable.out @@ -3,7 +3,7 @@ int ALIGNsynced(BAT *b1, BAT *b2); int ATOMallocate(const char *nme); void *ATOMdup(int id, const void *val); uint8_t ATOMelmshift(int sz) __attribute__((__const__)); -char *ATOMformat(int id, const void *val); +char *ATOMformat(int id, const void *val) __attribute__((__warn_unused_result__)); gdk_return ATOMheap(int id, Heap *hp, size_t cap) __attribute__((__warn_unused_result__)); int ATOMindex(const char *nme); size_t ATOMlen(int id, const void *v); @@ -310,6 +310,7 @@ gdk_return GDKmunmap(void *addr, int mod int GDKnr_threads; void GDKprepareExit(void); void GDKprintinfo(void); +void GDKprintinforegister(void (*func)(void)); void GDKqsort(void *restrict h, void *restrict t, const void *restrict base, size_t n, int hs, int ts, int tpe, bool reverse, bool nilslast); void *GDKrealloc(void *pold, size_t size) __attribute__((__alloc_size__(2))) __attribute__((__warn_unused_result__)); gdk_return GDKrebuild_segment_tree(oid ncount, oid data_size, BAT *st, void **segment_tree, oid **levels_offset, oid *nlevels); @@ -423,7 +424,7 @@ int VALcmp(const ValRecord *p, const Val void *VALconvert(int typ, ValPtr t); ValPtr VALcopy(ValPtr dst, const ValRecord *src); void VALempty(ValPtr v); -char *VALformat(const ValRecord *res); +char *VALformat(const ValRecord *res) __attribute__((__warn_unused_result__)); void *VALget(ValPtr v); ValPtr VALinit(ValPtr d, int tpe, const void *s); bool VALisnil(const ValRecord *v); @@ -558,6 +559,7 @@ gdk_return log_delta(logger *lg, BAT *ui void log_destroy(logger *lg); log_bid log_find_bat(logger *lg, log_id id); gdk_return log_flush(logger *lg, ulng saved_id); +void log_printinfo(logger *lg); int log_sequence(logger *lg, int seq, lng *id); gdk_return log_tend(logger *lg); gdk_return log_tflush(logger *lg, ulng log_file_id, ulng commit_ts); @@ -873,8 +875,8 @@ char *concatErrors(char *err1, const cha const char *connectRef; const char *containsRef; str convertConstant(malType type, ValPtr vr); -InstrPtr copyInstruction(InstrPtr p); -InstrPtr copyInstructionArgs(InstrPtr p, int args); +InstrPtr copyInstruction(const InstrRecord *p); +InstrPtr copyInstructionArgs(const InstrRecord *p, int args); MalBlkPtr copyMalBlk(MalBlkPtr mb); const char *copy_fromRef; const char *corrRef; diff --git a/clients/mapilib/ChangeLog b/clients/mapilib/ChangeLog.Dec2023 copy from clients/mapilib/ChangeLog copy to clients/mapilib/ChangeLog.Dec2023 diff --git a/clients/mapilib/Tests/tlstester.py b/clients/mapilib/Tests/tlstester.py --- a/clients/mapilib/Tests/tlstester.py +++ b/clients/mapilib/Tests/tlstester.py @@ -175,7 +175,9 @@ class Certs: noncritical_extensions: List[x509.ExtensionType] = [], keycrt=False, ): - key = rsa.generate_private_key(public_exponent=65537, key_size=2048) + with warnings.catch_warnings(): + warnings.filterwarnings('ignore', category=UserWarning) + key = rsa.generate_private_key(public_exponent=65537, key_size=2048) if parent_name: issuer_name = parent_name diff --git a/clients/mapilib/mapi.rc b/clients/mapilib/mapi.rc --- a/clients/mapilib/mapi.rc +++ b/clients/mapilib/mapi.rc @@ -6,8 +6,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_U #define sversion(major,minor,patch) #major "." #minor "." #patch "\0" 1 VERSIONINFO - FILEVERSION version(11,48,0) - PRODUCTVERSION version(11,48,0) + FILEVERSION version(11,50,0) + PRODUCTVERSION version(11,50,0) FILEFLAGSMASK 0x3fL FILEFLAGS 0 FILEOS VOS_NT_WINDOWS32 @@ -21,14 +21,14 @@ BEGIN VALUE "Comments", "\0" VALUE "CompanyName", "MonetDB B.V.\0" VALUE "FileDescription", "MonetDB Application Interface DLL\0" - VALUE "FileVersion", sversion(11,48,0) + VALUE "FileVersion", sversion(11,50,0) VALUE "InternalName", "Mapi\0" VALUE "LegalCopyright", "Copyright (c) MonetDB B.V. 2008-2023\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "Mapi.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "MonetDB Client Libraries\0" - VALUE "ProductVersion", sversion(11,48,0) + VALUE "ProductVersion", sversion(11,50,0) VALUE "SpecialBuild", "\0" END END diff --git a/clients/odbc/ChangeLog b/clients/odbc/ChangeLog.Dec2023 copy from clients/odbc/ChangeLog copy to clients/odbc/ChangeLog.Dec2023 diff --git a/clients/odbc/driver/driver.rc b/clients/odbc/driver/driver.rc --- a/clients/odbc/driver/driver.rc +++ b/clients/odbc/driver/driver.rc @@ -6,8 +6,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_U #define sversion(major,minor,patch) #major "." #minor "." #patch "\0" 1 VERSIONINFO - FILEVERSION version(11,48,0) - PRODUCTVERSION version(11,48,0) + FILEVERSION version(11,50,0) + PRODUCTVERSION version(11,50,0) FILEFLAGSMASK 0x3fL FILEFLAGS 0 FILEOS VOS_NT_WINDOWS32 @@ -21,14 +21,14 @@ BEGIN VALUE "Comments", "\0" VALUE "CompanyName", "MonetDB B.V.\0" VALUE "FileDescription", "MonetDB ODBC Driver DLL\0" - VALUE "FileVersion", sversion(11,48,0) + VALUE "FileVersion", sversion(11,50,0) VALUE "InternalName", "MonetODBC\0" VALUE "LegalCopyright", "Copyright (c) MonetDB B.V. 2008-2023\0" VALUE "LegalTrademarks", "\0" VALUE "OriginalFilename", "MonetODBC.dll\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "MonetDB SQL Server\0" - VALUE "ProductVersion", sversion(11,48,0) + VALUE "ProductVersion", sversion(11,50,0) VALUE "SpecialBuild", "\0" END END diff --git a/clients/odbc/winsetup/setup.rc b/clients/odbc/winsetup/setup.rc --- a/clients/odbc/winsetup/setup.rc +++ b/clients/odbc/winsetup/setup.rc @@ -65,8 +65,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION version(11,48,0) - PRODUCTVERSION version(11,48,0) + FILEVERSION version(11,50,0) + PRODUCTVERSION version(11,50,0) FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -83,12 +83,12 @@ BEGIN BEGIN VALUE "CompanyName", "MonetDB B.V." VALUE "FileDescription", "MonetDB ODBC Setup DLL" - VALUE "FileVersion", sversion(11,48,0) + VALUE "FileVersion", sversion(11,50,0) VALUE "InternalName", "MonetODBCs.dll" VALUE "LegalCopyright", "Copyright (c) MonetDB B.V. 2008-2023" VALUE "OriginalFilename", "MonetODBCs.dll" VALUE "ProductName", "MonetDB SQL Server" - VALUE "ProductVersion", sversion(11,48,0) + VALUE "ProductVersion", sversion(11,50,0) END END BLOCK "VarFileInfo" diff --git a/cmake/monetdb-versions.cmake b/cmake/monetdb-versions.cmake --- a/cmake/monetdb-versions.cmake +++ b/cmake/monetdb-versions.cmake @@ -9,7 +9,7 @@ #]] set(MONETDB_VERSION_MAJOR "11") -set(MONETDB_VERSION_MINOR "48") +set(MONETDB_VERSION_MINOR "50") set(MONETDB_VERSION_PATCH "0") if(RELEASE_VERSION) diff --git a/common/stream/ChangeLog b/common/stream/ChangeLog.Dec2023 copy from common/stream/ChangeLog copy to common/stream/ChangeLog.Dec2023 diff --git a/gdk/ChangeLog b/gdk/ChangeLog --- a/gdk/ChangeLog +++ b/gdk/ChangeLog @@ -1,14 +1,3 @@ # ChangeLog file for GDK # This file is updated with Maddlog -* Thu Nov 2 2023 Sjoerd Mullender <sjo...@acm.org> -- Removed the compiled-in limit on the number of threads that can be used. - The number of threads are still limited, but the limit is dictated - solely by the operating system and the availability of enough memory. - -* Thu Sep 28 2023 Sjoerd Mullender <sjo...@acm.org> -- We now prevent accidental upgrades from a database without 128 bit - integers to one with 128 bit integers (also known as HUGEINT) from - happening. Upgrades will only be done if the server is started with - the option --set allow_hge_upgrade=yes. - diff --git a/gdk/ChangeLog b/gdk/ChangeLog.Dec2023 copy from gdk/ChangeLog copy to gdk/ChangeLog.Dec2023 diff --git a/gdk/gdk.h b/gdk/gdk.h --- a/gdk/gdk.h +++ b/gdk/gdk.h @@ -656,7 +656,8 @@ typedef struct { /* interface definitions */ gdk_export void *VALconvert(int typ, ValPtr t); -gdk_export char *VALformat(const ValRecord *res); +gdk_export char *VALformat(const ValRecord *res) + __attribute__((__warn_unused_result__)); gdk_export ValPtr VALcopy(ValPtr dst, const ValRecord *src); gdk_export ValPtr VALinit(ValPtr d, int tpe, const void *s); gdk_export void VALempty(ValPtr v); diff --git a/gdk/gdk_atoms.h b/gdk/gdk_atoms.h --- a/gdk/gdk_atoms.h +++ b/gdk/gdk_atoms.h @@ -75,7 +75,8 @@ gdk_export size_t ATOMlen(int id, const gdk_export void *ATOMnil(int id) __attribute__((__malloc__)); gdk_export int ATOMprint(int id, const void *val, stream *fd); -gdk_export char *ATOMformat(int id, const void *val); +gdk_export char *ATOMformat(int id, const void *val) + __attribute__((__warn_unused_result__)); gdk_export void *ATOMdup(int id, const void *val); diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c --- a/gdk/gdk_bbp.c +++ b/gdk/gdk_bbp.c @@ -4605,47 +4605,47 @@ BBPtmunlock(void) void BBPprintinfo(void) { - if (MT_lock_try(&GDKtmLock)) { - BBPtmlockFinish(); - size_t tmem = 0, tvm = 0; - size_t pmem = 0, pvm = 0; - int tn = 0; - int pn = 0; - int nh = 0; - - for (bat i = 1, sz = (bat) ATOMIC_GET(&BBPsize); i < sz; i++) { - if (BBP_refs(i) == 0 && BBP_lrefs(i) == 0) - continue; + size_t tmem = 0, tvm = 0; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org