Changeset: fe0153153e25 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fe0153153e25
Modified Files:
        gdk/gdk.h
        sql/test/BugTracker-2023/Tests/misc-crashes-7390.test
        sql/test/BugTracker-2024/Tests/7432-alloc-overflow.test
Branch: default
Log Message:

Change error msg for MAL_MALLOC_FAIL. Fix issue #7677


diffs (36 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -2499,7 +2499,7 @@ gdk_export gdk_return gdk_remove_callbac
 gdk_export void GDKusr1triggerCB(void (*func)(void));
 
 #define SQLSTATE(sqlstate)     #sqlstate "!"
-#define MAL_MALLOC_FAIL        "Could not allocate space"
+#define MAL_MALLOC_FAIL        "Could not allocate memory"
 
 #include <setjmp.h>
 
diff --git a/sql/test/BugTracker-2023/Tests/misc-crashes-7390.test 
b/sql/test/BugTracker-2023/Tests/misc-crashes-7390.test
--- a/sql/test/BugTracker-2023/Tests/misc-crashes-7390.test
+++ b/sql/test/BugTracker-2023/Tests/misc-crashes-7390.test
@@ -106,7 +106,7 @@ statement ok
 DROP TABLE v0
 
 -- 06.sql
-statement error HY013!Could not allocate space
+statement error HY013!Could not allocate memory
 CREATE TEMP TABLE Table0 (Col0 INT, PRIMARY KEY(Col0), FOREIGN KEY (Col0) 
REFERENCES Table0)
 
 -- 07.sql
diff --git a/sql/test/BugTracker-2024/Tests/7432-alloc-overflow.test 
b/sql/test/BugTracker-2024/Tests/7432-alloc-overflow.test
--- a/sql/test/BugTracker-2024/Tests/7432-alloc-overflow.test
+++ b/sql/test/BugTracker-2024/Tests/7432-alloc-overflow.test
@@ -7,7 +7,7 @@ INSERT INTO v0 VALUES (222),(10),(3),(94
 statement ok
 INSERT INTO v0 (v1) SELECT group_concat ('table tn3 row 99') FROM v0, v0 AS 
tri, v0 AS OMW WHERE 10 LIMIT 4
 
-statement error HY013!Could not allocate space
+statement error HY013!Could not allocate memory
 SELECT levenshtein (v1, v1, 16, 10, 561), v1, v1 FROM v0
 
 statement ok
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to