Changeset: 101579c87c75 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/101579c87c75
Modified Files:
        sql/storage/bat/bat_storage.c
Branch: default
Log Message:

Merge with Mar2025 branch.


diffs (156 lines):

diff --git a/sql/test/pg_regress/Tests/numeric.test 
b/sql/test/pg_regress/Tests/numeric.test
--- a/sql/test/pg_regress/Tests/numeric.test
+++ b/sql/test/pg_regress/Tests/numeric.test
@@ -1534,31 +1534,8 @@ SELECT t1.id1, t1.result, t2.expected
     FROM num_result t1, num_exp_sqrt t2
     WHERE t1.id1 = t2.id
     AND t1.result <> t2.expected
+    AND ABS(t2.expected - t1.result) > t2.expected / 100000
 ----
-2
-5859.9054783671253970944
-5859.9054783671252490351
-3
-2.0760539492026692798
-2.0760539492026694440
-4
-2792.7515843518913243136
-2792.7515843518914741892
-5
-128.0509214765750982656
-128.0509214765750914547
-6
-306.4336431109678073856
-306.4336431109678270341
-7
-9111.9967625104000032768
-9111.9967625103993997523
-8
-273.6439292218996115456
-273.6439292218996039754
-9
-4992.6750389993758289920
-4992.6750389993759336477
 
 statement ok
 DELETE FROM num_result
@@ -1573,31 +1550,8 @@ SELECT t1.id1, t1.result, t2.expected
     FROM num_result t1, num_exp_ln t2
     WHERE t1.id1 = t2.id
     AND t1.result <> t2.expected
+    AND ABS(t2.expected - t1.result) > t2.expected / 100000
 ----
-2
-17.3517775049389761936
-17.3517775049389771551
-3
-1.4609379041156562717
-1.4609379041156564197
-4
-15.8695652395193658176
-15.8695652395193657246
-5
-9.7048560176887175288
-9.7048560176887183404
-6
-11.4500024662294439536
-11.4500024662294440313
-7
-18.2346942996547873856
-18.2346942996547877299
-8
-11.2236554657631550928
-11.2236554657631551367
-9
-17.0314542501316594784
-17.0314542501316600696
 
 statement ok
 DELETE FROM num_result
@@ -1612,31 +1566,8 @@ SELECT t1.id1, t1.result, t2.expected
     FROM num_result t1, num_exp_log10 t2
     WHERE t1.id1 = t2.id
     AND t1.result <> t2.expected
+    AND ABS(t2.expected - t1.result) > t2.expected / 100000
 ----
-2
-7.5357812216079729240
-7.5357812216079727646
-3
-0.6344772701607315213
-0.6344772701607316008
-4
-6.8920646137269176988
-6.8920646137269174335
-5
-4.2147654161477774436
-4.2147654161477776863
-6
-4.9726728888620721492
-4.9726728888620720767
-7
-7.9192271135327558792
-7.9192271135327554691
-8
-4.8743716355642101588
-4.8743716355642100414
-9
-7.3966665996198655008
-7.3966665996198656706
 
 statement ok
 DELETE FROM num_result
@@ -1652,31 +1583,8 @@ SELECT t1.id1, t1.result, t2.expected
     FROM num_result t1, num_exp_power_10_ln t2
     WHERE t1.id1 = t2.id
     AND t1.result <> t2.expected
+    AND ABS(t2.expected - t1.result) > t2.expected / 1000000
 ----
-2
-224790267919917472.0000070183641153536
-224790267919917955.1326161858364265318
-3
-28.9026659944515493808
-28.9026659944515595739
-4
-7405685069595000.9999297647912943616
-7405685069594999.0773399946938627764
-5
-5068226527.3212633131268440064
-5068226527.3212726540858464010
-6
-281839893606.9936523304541093888
-281839893606.9937234335704781907
-7
-1716699575118595839.9797518794760388608
-1716699575118597095.4233081991064024762
-8
-167361463828.0748901317507809280
-167361463828.0749132006901612595
-9
-107511333880051856.0018773317846564864
-107511333880052007.0414112467354033746
 
 query D rowsort
 SELECT AVG(val) FROM num_data
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2984,13 +2984,14 @@ def DoIt(env, SERVER, CALL, TST, EXT, Te
                             defines = []
                             testfile = TST+EXT
                             if lang == 'sql' and 
os.path.exists(os.path.join(TSTTRGDIR, TST+'.test.in')):
+                                bs = '\\'
                                 testfile = TST+'.test.in'
-                                
defines.append(f'QTSTDATAPATH={TSTDATAPATH.replace("\\","\\\\")}')
+                                
defines.append(f'QTSTDATAPATH={TSTDATAPATH.replace(bs,bs+bs)}')
                                 defines.append(f'TSTDATAPATH={TSTDATAPATH}')
                                 
defines.append(f'UTSTSRCDIR=file://{url(TSTSRCDIR)}')
-                                
defines.append(f'QTSTSRCDIR={TSTSRCDIR.replace("\\","\\\\")}')
+                                
defines.append(f'QTSTSRCDIR={TSTSRCDIR.replace(bs,bs+bs)}')
                                 defines.append(f'TSTSRCDIR={TSTSRCDIR}')
-                                
defines.append(f'QTSTTRGDIR={TSTTRGDIR.replace("\\","\\\\")}')
+                                
defines.append(f'QTSTTRGDIR={TSTTRGDIR.replace(bs,bs+bs)}')
                                 defines.append(f'TSTTRGDIR={TSTTRGDIR}')
                                 defines.append(f'TSTSRCBASE={TSTSRCBASE}')
                                 defines.append(f'TSTDB={TSTDB}')
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to