Changeset: 9e5b3249d6da for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/9e5b3249d6da
Modified Files:
gdk/gdk.h
gdk/gdk_atoms.h
gdk/gdk_bat.c
gdk/gdk_batop.c
gdk/gdk_bbp.c
gdk/gdk_heap.c
monetdb5/modules/atoms/str.c
monetdb5/modules/mal/pcre.c
monetdb5/modules/mal/txtsim.c
Branch: zero-offset-is-nil
Log Message:
Merge with default branch.
diffs (truncated from 20383 to 300 lines):
diff --git a/.github/DISCUSSION_TEMPLATE/general.yml
b/.github/DISCUSSION_TEMPLATE/general.yml
--- a/.github/DISCUSSION_TEMPLATE/general.yml
+++ b/.github/DISCUSSION_TEMPLATE/general.yml
@@ -31,6 +31,6 @@ body:
- type: markdown
attributes:
value: |
- If the above is not provided and cannot be inferred from your GitHub
profile page,
- we might close your discussion without further review. Refer to the
+ If we find the above answers questionable and it is not obvious from
your GitHub profile page,
+ we reserve the right to close your discussion without further review.
Please refer to the
[reasoning behind this
rule](https://berthub.eu/articles/posts/anonymous-help/) if you have questions.
diff --git a/.github/DISCUSSION_TEMPLATE/questions.yml
b/.github/DISCUSSION_TEMPLATE/questions.yml
--- a/.github/DISCUSSION_TEMPLATE/questions.yml
+++ b/.github/DISCUSSION_TEMPLATE/questions.yml
@@ -25,6 +25,6 @@ body:
- type: markdown
attributes:
value: |
- If the above is not provided and cannot be inferred from your GitHub
profile page,
- we might close your question without further review. Refer to the
+ If we find the above answers questionable and it is not obvious from
your GitHub profile page,
+ we reserve the right to close your question without further review.
Please refer to the
[reasoning behind this
rule](https://berthub.eu/articles/posts/anonymous-help/) if you have questions.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml
b/.github/ISSUE_TEMPLATE/bug_report.yml
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -77,6 +77,6 @@ body:
- type: markdown
attributes:
value: |
- If the above is not given and is not obvious from your GitHub profile
page,
- we might close your issue without further review. Please refer to the
+ If we find the above answers questionable and it is not obvious from
your GitHub profile page,
+ we reserve the right to close your issue without further review.
Please refer to the
[reasoning behind this
rule](https://berthub.eu/articles/posts/anonymous-help/) if you have questions.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml
b/.github/ISSUE_TEMPLATE/feature_request.yml
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -52,6 +52,6 @@ body:
- type: markdown
attributes:
value: |
- If the above is not provided and cannot be inferred from your GitHub
profile page,
- we might close your issue without further review. Refer to the
+ If we find the above answers questionable and it is not obvious from
your GitHub profile page,
+ we reserve the right to close your issue without further review.
Please refer to the
[reasoning behind this
rule](https://berthub.eu/articles/posts/anonymous-help/) if you have questions.
diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -853,3 +853,5 @@ a63e11c1fd1b2dfba2a0ed8a985455286bc023d3
3bc4079f4e74840fe5a946ed084fb439a351049e Dec2025_root
b4c2936c46f28ad6b3e59ed5a1a844726d521994 Dec2025_1
b4c2936c46f28ad6b3e59ed5a1a844726d521994 Dec2025_release
+69f4fe2ad29b5d50d9ef06ad76639faaa60fcfa8 Dec2025_3
+69f4fe2ad29b5d50d9ef06ad76639faaa60fcfa8 Dec2025_SP1_release
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
# ChangeLog file for devel
# This file is updated with Maddlog
+* Thu Feb 19 2026 Sjoerd Mullender <[email protected]>
+- Changed the BATloop macro so that it now has a BATiter pointer as
+ first argument.
+
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -93,7 +93,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/MonetDB-%{version}.tar.bz2
+Source:
https://www.monetdb.org/downloads/sources/Dec2025-SP1/MonetDB-%{version}.tar.bz2
# The Fedora packaging document says we need systemd-rpm-macros for
# the _unitdir and _tmpfilesdir macros to exist; however on RHEL 7
@@ -856,7 +856,22 @@ package. You probably don't need this,
%files embedded-tests
%defattr(-,root,root)
+%{_bindir}/demo_oob_read
+%{_bindir}/demo_oob_write
+%{_bindir}/example1
+%{_bindir}/example2
+%{_bindir}/example_append
+%{_bindir}/example_append_raw
+%{_bindir}/example_backup
+%{_bindir}/example_blob
+%{_bindir}/example_connections
+%{_bindir}/example_copy
+%{_bindir}/example_decimals
%{_bindir}/example_proxy
+%{_bindir}/example_sessions
+%{_bindir}/example_temporal
+%{_bindir}/demo_oob_read
+%{_bindir}/demo_oob_write
%package testing-python
Summary: MonetDB - Monet Database Management System
@@ -1055,6 +1070,54 @@ rm "${RPM_BUILD_ROOT}"%{_unitdir}/monetd
%endif
%changelog
+* Mon Feb 16 2026 Sjoerd Mullender <[email protected]> - 11.55.3-20260216
+- Rebuilt.
+- GH#7690: CASE operator inside aggregate function error
+- GH#7691: Slow execution of a query with a constantly false
+ WHERE-condition
+- GH#7726: MonetDB server (Mar2025-SP2-release) crashes at `ALGgroupby `
+- GH#7759: PCRE replace referencing non-existing capture groups fails with
+ "Could not allocate space"
+- GH#7760: Unexpectedly high resource and time usage when using IN (SELECT
+ table_name.column_name FROM table_name GROUP BY 1) subquery
+- GH#7765: CREATE LOCAL TEMPORARY VIEW leaves orphan dependencies behind
+- GH#7766: Assertion failure in exp_bin when using scalar subquery with
+ GROUP BY inside aggregate
+- GH#7767: Assertion failure (sql->session->status == -10) in
+ rel2bin_select caused by malformed IN (SELECT ...) expression
+- GH#7768: Simple single table query returns wrong results
+- GH#7769: Crash in NTH_VALUE window function with RANGE frame
+- GH#7771: Assertion failure in stmt_alias_ with scalar subquery in INSERT
+ VALUES
+- GH#7772: msqldump does not dump UNLOGGED TABLE definitions
+- GH#7773: msqldump generates invalid SQL CREATE TABLE definitions for
+ tables with multiple CHECK constraints
+- GH#7775: heap-buffer-overflow in monetdb causing monetdb crash
+- GH#7780: PLAN performance explosion with CTEs, nested CASE, wide column
+ counts
+- GH#7782: system view sys.roles does not list implicitly created roles
+- GH#7783: Duplicate rows returned when selecting on composite primary key
+ after delete/re-insert
+- GH#7785: Recursive CTE with UNION ALL may cause infinite loop /
+ non-terminating execution
+- GH#7786: DROP TABLE fails with HY013 "Could not allocate memory" after
+ ALTER TABLE RENAME
+- GH#7787: mserver crash: SQLrun: Assertion `!*m->errstr' sql_execute.c
+- GH#7798: running mserver5 under valgrind does not initialize SQL
+ interface.
+- GH#7799: server crashes when an error is detected during initialization
+- GH#7803: sever crash at rel_dce_refs
+- GH#7804: server crash (assertion failure) when querying:
+ sys.querylog_catalog order by id desc
+- GH#7805: ORDER BY ALL queries return data in reserve order
+- GH#7806: Casting to decimal without precision and scale assumes wrong
+ defaults
+- GH#7808: BLOBs longer then 2 GiB cause a server crash
+- GH#7810: You can have DATE string, but you cannot have GEOMETRY string
+ to cast a string constant
+- GH#7811: SELECT 'x' - 'x'; gives weird error message.
+- GH#7812: MONETDB HEAP BUFFER OVERFLOW
+
* Tue Dec 16 2025 Lucas Pereira <[email protected]> -
11.55.1-20251209
- sql: New implementation for the CONTAINS filter function for string data
types using a much faster algorithm based on the knowledge of the
diff --git a/clients/Tests/MAL-signatures-hge.test
b/clients/Tests/MAL-signatures-hge.test
--- a/clients/Tests/MAL-signatures-hge.test
+++ b/clients/Tests/MAL-signatures-hge.test
@@ -47344,55 +47344,10 @@ pattern iterator.new(X_0:bat[:any_1]) (X
ITRbunIterator
Process the buns one by one extracted from a void table.
iterator
-new
-command iterator.new(X_0:bat[:any_1], X_1:lng) (X_2:lng, X_3:bat[:any_1])
-ITRnewChunk
-Create an iterator with fixed granule size.@The result is a view.
-iterator
next
pattern iterator.next(X_0:bat[:any_1]) (X_1:oid, X_2:any_1)
ITRbunNext
Produce the next bun for processing.
-iterator
-next
-command iterator.next(X_0:bat[:any_1], X_1:lng) (X_2:lng, X_3:bat[:any_1])
-ITRnextChunk
-Produce the next chunk for processing.
-iterator
-next
-command iterator.next(X_0:dbl, X_1:dbl):dbl
-ITRnext_dbl
-Advances the iterator with a fixed value
-iterator
-next
-command iterator.next(X_0:flt, X_1:flt):flt
-ITRnext_flt
-(empty)
-iterator
-next
-command iterator.next(X_0:hge, X_1:hge):hge
-ITRnext_hge
-(empty)
-iterator
-next
-command iterator.next(X_0:int, X_1:int):int
-ITRnext_int
-(empty)
-iterator
-next
-command iterator.next(X_0:lng, X_1:lng):lng
-ITRnext_lng
-(empty)
-iterator
-next
-command iterator.next(X_0:oid, X_1:oid):oid
-ITRnext_oid
-(empty)
-iterator
-next
-command iterator.next(X_0:sht, X_1:sht):sht
-ITRnext_sht
-(empty)
json
dump
pattern json.dump(X_0:json):bat[:str]
diff --git a/clients/Tests/MAL-signatures.test
b/clients/Tests/MAL-signatures.test
--- a/clients/Tests/MAL-signatures.test
+++ b/clients/Tests/MAL-signatures.test
@@ -35844,50 +35844,10 @@ pattern iterator.new(X_0:bat[:any_1]) (X
ITRbunIterator
Process the buns one by one extracted from a void table.
iterator
-new
-command iterator.new(X_0:bat[:any_1], X_1:lng) (X_2:lng, X_3:bat[:any_1])
-ITRnewChunk
-Create an iterator with fixed granule size.@The result is a view.
-iterator
next
pattern iterator.next(X_0:bat[:any_1]) (X_1:oid, X_2:any_1)
ITRbunNext
Produce the next bun for processing.
-iterator
-next
-command iterator.next(X_0:bat[:any_1], X_1:lng) (X_2:lng, X_3:bat[:any_1])
-ITRnextChunk
-Produce the next chunk for processing.
-iterator
-next
-command iterator.next(X_0:dbl, X_1:dbl):dbl
-ITRnext_dbl
-Advances the iterator with a fixed value
-iterator
-next
-command iterator.next(X_0:flt, X_1:flt):flt
-ITRnext_flt
-(empty)
-iterator
-next
-command iterator.next(X_0:int, X_1:int):int
-ITRnext_int
-(empty)
-iterator
-next
-command iterator.next(X_0:lng, X_1:lng):lng
-ITRnext_lng
-(empty)
-iterator
-next
-command iterator.next(X_0:oid, X_1:oid):oid
-ITRnext_oid
-(empty)
-iterator
-next
-command iterator.next(X_0:sht, X_1:sht):sht
-ITRnext_sht
-(empty)
json
dump
pattern json.dump(X_0:json):bat[:str]
diff --git a/clients/Tests/exports.py b/clients/Tests/exports.py
--- a/clients/Tests/exports.py
+++ b/clients/Tests/exports.py
@@ -4,5 +4,6 @@ import MonetDBtesting.listexports
with open('exports.stable.out') as fil:
stable = fil.readlines()
output = MonetDBtesting.listexports.listexports()
-for line in difflib.unified_diff(stable, output):
+for line in difflib.unified_diff(stable, output,
+ fromfile='expected', tofile='received'):
sys.stderr.write(line)
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
@@ -361,8 +361,8 @@ var_t HEAP_malloc(BAT *b, size_t nbytes)
void HEAPdecref(Heap *h, bool remove);
gdk_return HEAPextend(Heap *h, size_t size, bool mayshare)
__attribute__((__warn_unused_result__));
void HEAPincref(Heap *h);
-size_t HEAPmemsize(Heap *h);
-size_t HEAPvmsize(Heap *h);
+size_t HEAPmemsize(const Heap *h) __attribute__((__pure__));
+size_t HEAPvmsize(const Heap *h) __attribute__((__pure__));
gdk_return MT_alloc_tls(MT_TLS_t *newkey);
int MT_check_nr_cores(void);
void MT_cond_broadcast(MT_Cond *cond);
@@ -1360,56 +1360,14 @@ char *prompt_getlogin(void);
struct dirent *readdir(DIR *dir);
void rewinddir(DIR *dir);
char *simple_prompt(const char *prompt, int maxlen, int echo, const char *def);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]