Changeset: 21a34e5f3483 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/21a34e5f3483
Branch: default
Log Message:

Merge with Dec2025 branch.


diffs (68 lines):

diff --git a/ChangeLog.Dec2025 b/ChangeLog.Dec2025
--- a/ChangeLog.Dec2025
+++ b/ChangeLog.Dec2025
@@ -1,6 +1,22 @@
 # ChangeLog file for devel
 # This file is updated with Maddlog
 
+* Fri Jun 12 2026 Sjoerd Mullender <[email protected]>
+- Fixed a number of race conditions.
+- Improved summing of floating point values in window functions.
+  The result is now as exact as floating point allows.  This uses the
+  same algorithm that was already used in the floating sum aggregate.
+- Added a new tracer component MAL_INSTRUCTION to log MAL instructions
+  during execution.
+- Fixed calculation of integer averages when the simple summing of
+  values (before the sum is divided by the count) overflows.  When it
+  does overflow we continue with a different algorithm, but the switch
+  was done incorrectly.  Summation was done in 128 bit integers, so
+  overflow was exceedingly rare.
+- Fixed a race condition during server exit.
+- Improvements to the way execution of prepared statements are being
+  reported.
+
 * Tue May 12 2026 Lucas Pereira <[email protected]>
 - Fix using --logging option of mserver5 to change component levels
   that are also used by --debug option. For overlapping components,
diff --git a/monetdb5/modules/kernel/batmmath.c 
b/monetdb5/modules/kernel/batmmath.c
--- a/monetdb5/modules/kernel/batmmath.c
+++ b/monetdb5/modules/kernel/batmmath.c
@@ -115,7 +115,7 @@ CMDscienceUNARY(MalStkPtr stk, InstrPtr 
                        err = "Overflow";
                        sqlstate = SQLSTATE(22003);
                } else if (e == EDOM) {
-                       err = "Invalid argumewnt";
+                       err = "Invalid argument";
                        if (strncmp(malfunc, "batmmath.log", 12) == 0)
                                sqlstate = SQLSTATE(2201E);
                        else if (strcmp(malfunc, "batmmath.pow") == 0)
@@ -392,7 +392,7 @@ CMDscienceBINARY(MalStkPtr stk, InstrPtr
                        err = "Overflow";
                        sqlstate = SQLSTATE(22003);
                } else if (e == EDOM) {
-                       err = "Invalid argumewnt";
+                       err = "Invalid argument";
                        if (strncmp(malfunc, "batmmath.log", 12) == 0)
                                sqlstate = SQLSTATE(2201E);
                        else if (strcmp(malfunc, "batmmath.pow") == 0)
diff --git a/monetdb5/modules/kernel/mmath.c b/monetdb5/modules/kernel/mmath.c
--- a/monetdb5/modules/kernel/mmath.c
+++ b/monetdb5/modules/kernel/mmath.c
@@ -108,7 +108,7 @@ MATHunary##NAME##TYPE(Client ctx, TYPE *
                                err = "Overflow";                               
                                        \
                                sqlstate = SQLSTATE(22003);                     
                                \
                        } else if (e == EDOM) {                                 
                                \
-                               err = "Invalid argumewnt";                      
                                \
+                               err = "Invalid argument";                       
                                \
                                if (strncmp(#FUNC, "log", 3) == 0)              
                        \
                                        sqlstate = SQLSTATE(2201E);             
                                \
                                else if (strcmp(#FUNC, "pow") == 0)             
                        \
@@ -159,7 +159,7 @@ MATHbinary##NAME##TYPE(Client ctx, TYPE 
                                err = "Overflow";                               
                                        \
                                sqlstate = SQLSTATE(22003);                     
                                \
                        } else if (e == EDOM) {                                 
                                \
-                               err = "Invalid argumewnt";                      
                                \
+                               err = "Invalid argument";                       
                                \
                                if (strncmp(#FUNC, "log", 3) == 0)              
                        \
                                        sqlstate = SQLSTATE(2201E);             
                                \
                                else if (strcmp(#FUNC, "pow") == 0)             
                        \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to