Changeset: dbcd3d69b432 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dbcd3d69b432
Modified Files:
clients/Tests/exports.stable.out
gdk/gdk_bbp.c
sql/server/rel_statistics.c
sql/storage/bat/bat_storage.c
Branch: persistent_sketches
Log Message:
Merge with default branch.
diffs (truncated from 4792 to 300 lines):
diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -861,3 +861,4 @@ b4c2936c46f28ad6b3e59ed5a1a844726d521994
1d742c123cb0e622d9a137b10bfbd7e4c446fde2 Dec2025_SP3_release
bc5735402f969151c941c100a7552769c0e89a9a Dec2025_9
bc5735402f969151c941c100a7552769c0e89a9a Dec2025_SP4_release
+7fc4b6dba998768109bbc40409a6128992eef08e Dec2025_11
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,7 @@ include(TestBigEndian REQUIRED)
if(WIN32)
set(CMAKE_REQUIRED_LIBRARIES ws2_32.lib shell32.lib advapi32.lib)
+ include_directories(BEFORE SYSTEM NT)
endif()
test_big_endian(IS_BIG_ENDIAN)
@@ -119,10 +120,6 @@ find_program(BASH NAMES bash DOC "bash i
configure_file(monetdb_config.h.in
${CMAKE_CURRENT_BINARY_DIR}/monetdb_config.h)
-if(WIN32)
- configure_file(unistd.h.in
- ${CMAKE_CURRENT_BINARY_DIR}/unistd.h)
-endif()
add_library(monetdb_config_header INTERFACE)
diff --git a/ChangeLog-Archive b/ChangeLog-Archive
--- a/ChangeLog-Archive
+++ b/ChangeLog-Archive
@@ -1,6 +1,22 @@
# DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
# This file contains past ChangeLog entries
+* Fri Nov 6 2026 Sjoerd Mullender <[email protected]> - 11.55.11-20261116
+- There was a regression in the handling of the --dbextra=in-memory option.
+ Instead of keeping the "extra" farm (i.e. all transient BATs) fully
+ in memory, they were stored in a subdirectory called in-memory.
+- There was a bug in handling backslash escapes in strings if the
+ backslash was immediately followed by a non-ASCII UTF-8 character.
+- On Fedora 45, there was a change in how the ODBC drivers are configured.
+ The MonetDB ODBC driver now follows the new way of doing things.
+- In Dec2025-SP4, the MonetDB-geom module was accidentally not built for
+ Fedora and RHEL 9 and 10. This has been corrected. The module cannot
+ be built for RHEL 8 since the required geos library is too old.
+
+* Fri Oct 23 2026 Sjoerd Mullender <[email protected]> - 11.55.11-20261116
+- Added an option --relative-dir to mclient to specify the directory
+ for relative path names when using the ON CLIENT option in SQL queries.
+
* Fri Jun 12 2026 Sjoerd Mullender <[email protected]> - 11.55.7-20260615
- Fixed a number of race conditions.
- Improved summing of floating point values in window functions.
diff --git a/ChangeLog.Dec2025 b/ChangeLog.Dec2025
--- a/ChangeLog.Dec2025
+++ b/ChangeLog.Dec2025
@@ -1,19 +1,3 @@
# ChangeLog file for devel
# This file is updated with Maddlog
-* Fri Nov 6 2026 Sjoerd Mullender <[email protected]>
-- There was a regression in the handling of the --dbextra=in-memory option.
- Instead of keeping the "extra" farm (i.e. all transient BATs) fully
- in memory, they were stored in a subdirectory called in-memory.
-- There was a bug in handling backslash escapes in strings if the
- backslash was immediately followed by a non-ASCII UTF-8 character.
-- On Fedora 45, there was a change in how the ODBC drivers are configured.
- The MonetDB ODBC driver now follows the new way of doing things.
-- In Dec2025-SP4, the MonetDB-geom module was accidentally not built for
- Fedora and RHEL 9 and 10. This has been corrected. The module cannot
- be built for RHEL 8 since the required geos library is too old.
-
-* Fri Oct 23 2026 Sjoerd Mullender <[email protected]>
-- Added an option --relative-dir to mclient to specify the directory
- for relative path names when using the ON CLIENT option in SQL queries.
-
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -86,7 +86,7 @@ Group: Applications/Databases
License: MPL-2.0
URL: https://www.monetdb.org/
BugURL: https://github.com/MonetDB/MonetDB/issues
-Source:
https://www.monetdb.org/downloads/sources/Dec2025-SP4/MonetDB-%{version}.tar.bz2
+Source:
https://www.monetdb.org/downloads/sources/Dec2025-SP5/MonetDB-%{version}.tar.bz2
BuildRequires: systemd-rpm-macros
BuildRequires: cmake >= 3.12
@@ -1047,6 +1047,41 @@ mv "${RPM_BUILD_ROOT}"%{_libdir}/libMone
%endif
%changelog
+* Mon Nov 16 2026 Sjoerd Mullender <[email protected]> - 11.55.11-20261116
+- Rebuilt.
+- GH#7976: Adding an unrelated composite constraint makes
+ `sys.dump_database` reverse an existing composite key, producing a dump
+ that cannot be restored
+- GH#7985: `QUALIFY` with inline `ROW_NUMBER` leaks an `ORDER BY` column
+ and filters the wrong rows
+- GH#8031: Query giving wrong result when casting is expected to fail
+- GH#8034: ORDER BY query with LIKE and string concatenation fails to
+ produce a result set
+- GH#8035: ALTER TABLE ALTER COLUMN DATE to TIMESTAMP changes an existing
+ value
+- GH#8036: Rows inserted after in-transaction `ALTER COLUMN` disappear
+ after commit
+- GH#8037: ALTER from VARCHAR to DECIMAL changes the scale or rejects
+ values accepted by CAST
+- GH#8044: GDKtracer_init_trace_file failed with in-memory mserver5 and
+ large insert
+
+* Fri Nov 6 2026 Sjoerd Mullender <[email protected]> - 11.55.11-20261116
+- MonetDB: There was a regression in the handling of the --dbextra=in-memory
option.
+ Instead of keeping the "extra" farm (i.e. all transient BATs) fully
+ in memory, they were stored in a subdirectory called in-memory.
+- MonetDB: There was a bug in handling backslash escapes in strings if the
+ backslash was immediately followed by a non-ASCII UTF-8 character.
+- MonetDB: On Fedora 45, there was a change in how the ODBC drivers are
configured.
+ The MonetDB ODBC driver now follows the new way of doing things.
+- MonetDB: In Dec2025-SP4, the MonetDB-geom module was accidentally not built
for
+ Fedora and RHEL 9 and 10. This has been corrected. The module cannot
+ be built for RHEL 8 since the required geos library is too old.
+
+* Fri Oct 23 2026 Sjoerd Mullender <[email protected]> - 11.55.11-20261116
+- MonetDB: Added an option --relative-dir to mclient to specify the directory
+ for relative path names when using the ON CLIENT option in SQL queries.
+
* Tue Sep 29 2026 Sjoerd Mullender <[email protected]> - 11.55.9-20260929
- Rebuilt.
- GH#7922: Wrong result path split between `SUM() OVER (... RANGE ...)`
diff --git a/unistd.h.in b/NT/unistd.h
rename from unistd.h.in
rename to NT/unistd.h
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
@@ -1328,7 +1328,6 @@ char *monetdbe_set_autocommit(monetdbe_d
const char *monetdbe_version(void);
# mutils
-int MT_access(const char *pathname, int mode);
FILE *MT_fopen(const char *filename, const char *mode);
char *MT_getcwd(char *buffer, size_t size);
int MT_lockf(const char *filename, int mode);
diff --git a/cmake/monetdb-versions.cmake b/cmake/monetdb-versions.cmake
--- a/cmake/monetdb-versions.cmake
+++ b/cmake/monetdb-versions.cmake
@@ -42,7 +42,7 @@ set(MONETDB_VERSION "${MONETDB_VERSION_M
# common/options and common/utils)
set(GDK_VERSION_MAJOR "31")
set(GDK_VERSION_MINOR "1")
-set(GDK_VERSION_PATCH "2")
+set(GDK_VERSION_PATCH "3")
set(GDK_VERSION
"${GDK_VERSION_MAJOR}.${GDK_VERSION_MINOR}.${GDK_VERSION_PATCH}")
# version of the MAPI library (subdirectory clients/mapilib)
@@ -73,7 +73,7 @@ set(MUTILS_VERSION "${MUTILS_VERSION_MAJ
# version of the SQL library (subdirectory sql)
set(SQL_VERSION_MAJOR "17")
set(SQL_VERSION_MINOR "1")
-set(SQL_VERSION_PATCH "3")
+set(SQL_VERSION_PATCH "4")
set(SQL_VERSION
"${SQL_VERSION_MAJOR}.${SQL_VERSION_MINOR}.${SQL_VERSION_PATCH}")
# version of the STREAM library (subdirectory common/stream)
diff --git a/common/utils/mutils.c b/common/utils/mutils.c
--- a/common/utils/mutils.c
+++ b/common/utils/mutils.c
@@ -667,17 +667,6 @@ MT_getcwd(char *buffer, size_t size)
return len == -1 ? NULL : buffer;
}
-int
-MT_access(const char *pathname, int mode)
-{
- wchar_t *wpathname = utf8toutf16(pathname);
- if (wpathname == NULL)
- return -1;
- int ret = _waccess(wpathname, mode);
- free(wpathname);
- return ret;
-}
-
#else
#if defined(HAVE_LOCKF) && defined(__MACH__)
diff --git a/common/utils/mutils.h b/common/utils/mutils.h
--- a/common/utils/mutils.h
+++ b/common/utils/mutils.h
@@ -56,7 +56,6 @@ mutils_export int MT_rename(const char *
mutils_export int MT_remove(const char *filename);
mutils_export int MT_mkdir(const char *dirname);
mutils_export char *MT_getcwd(char *buffer, size_t size);
-mutils_export int MT_access(const char *pathname, int mode);
#else
@@ -116,12 +115,6 @@ MT_getcwd(char *buffer, size_t size)
return getcwd(buffer, size);
}
-static inline int
-MT_access(const char *pathname, int mode)
-{
- return access(pathname, mode);
-}
-
#endif
mutils_export uint16_t *utf8toutf16(const char *src);
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,47 @@
+monetdb (11.55.11) unstable; urgency=low
+
+ * Rebuilt.
+ * GH#7976: Adding an unrelated composite constraint makes
+ `sys.dump_database` reverse an existing composite key, producing a dump
+ that cannot be restored
+ * GH#7985: `QUALIFY` with inline `ROW_NUMBER` leaks an `ORDER BY` column
+ and filters the wrong rows
+ * GH#8031: Query giving wrong result when casting is expected to fail
+ * GH#8034: ORDER BY query with LIKE and string concatenation fails to
+ produce a result set
+ * GH#8035: ALTER TABLE ALTER COLUMN DATE to TIMESTAMP changes an existing
+ value
+ * GH#8036: Rows inserted after in-transaction `ALTER COLUMN` disappear
+ after commit
+ * GH#8037: ALTER from VARCHAR to DECIMAL changes the scale or rejects
+ values accepted by CAST
+ * GH#8044: GDKtracer_init_trace_file failed with in-memory mserver5 and
+ large insert
+
+ -- Sjoerd Mullender <[email protected]> Mon, 16 Nov 2026 15:32:04 +0100
+
+monetdb (11.55.11) unstable; urgency=low
+
+ * MonetDB: There was a regression in the handling of the --dbextra=in-memory
option.
+ Instead of keeping the "extra" farm (i.e. all transient BATs) fully
+ in memory, they were stored in a subdirectory called in-memory.
+ * MonetDB: There was a bug in handling backslash escapes in strings if the
+ backslash was immediately followed by a non-ASCII UTF-8 character.
+ * MonetDB: On Fedora 45, there was a change in how the ODBC drivers are
configured.
+ The MonetDB ODBC driver now follows the new way of doing things.
+ * MonetDB: In Dec2025-SP4, the MonetDB-geom module was accidentally not
built for
+ Fedora and RHEL 9 and 10. This has been corrected. The module cannot
+ be built for RHEL 8 since the required geos library is too old.
+
+ -- Sjoerd Mullender <[email protected]> Fri, 6 Nov 2026 15:32:04 +0100
+
+monetdb (11.55.11) unstable; urgency=low
+
+ * MonetDB: Added an option --relative-dir to mclient to specify the directory
+ for relative path names when using the ON CLIENT option in SQL queries.
+
+ -- Sjoerd Mullender <[email protected]> Fri, 23 Oct 2026 15:32:04 +0100
+
monetdb (11.55.9) unstable; urgency=low
* Rebuilt.
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -73,9 +73,6 @@
#include <fcntl.h>
#endif
-#ifndef F_OK
-#define F_OK 0
-#endif
#ifndef S_ISDIR
#define S_ISDIR(mode) (((mode) & _S_IFMT) == _S_IFDIR)
#endif
diff --git a/monetdb5/mal/mal_linker.c b/monetdb5/mal/mal_linker.c
--- a/monetdb5/mal/mal_linker.c
+++ b/monetdb5/mal/mal_linker.c
@@ -58,13 +58,11 @@ static int lastfile = 0;
/*
* returns 1 if the file exists
*/
-#ifndef F_OK
-#define F_OK 0
-#endif
static inline int
fileexists(const char *path)
{
- return MT_access(path, F_OK) == 0;
+ struct stat stb;
+ return MT_stat(path, &stb) == 0;
}
/* Search for occurrence of the function in the library identified by the
filename. */
diff --git a/monetdb5/modules/mal/pp_algebra.c
b/monetdb5/modules/mal/pp_algebra.c
--- a/monetdb5/modules/mal/pp_algebra.c
+++ b/monetdb5/modules/mal/pp_algebra.c
@@ -308,7 +308,7 @@ mulmod(lng a, lng b, lng c)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]