Changeset: 21a11a36a02a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=21a11a36a02a
Modified Files:
        sql/test/miscellaneous/Tests/simple_selects.sql
        sql/test/miscellaneous/Tests/simple_selects.stable.err
Branch: Jun2020
Log Message:

Made test give the same output on non 128 int platforms


diffs (26 lines):

diff --git a/sql/test/miscellaneous/Tests/simple_selects.sql 
b/sql/test/miscellaneous/Tests/simple_selects.sql
--- a/sql/test/miscellaneous/Tests/simple_selects.sql
+++ b/sql/test/miscellaneous/Tests/simple_selects.sql
@@ -164,5 +164,5 @@ select 'a' like 'a' escape 'a'; --error,
 select cast(x as interval second) from (values ('1'), (NULL), ('100'), (NULL)) 
as x(x);
 select cast(x as interval month) from (values ('1'), (NULL), ('100'), (NULL)) 
as x(x);
 
-select cast(9223372036854775808 as interval month); --error value to large for 
a month interval
+select cast(92233720368547750 as interval month); --error value too large for 
a month interval
 select cast(92233720368547750 as interval second); --error, overflow in 
conversion for interval second
diff --git a/sql/test/miscellaneous/Tests/simple_selects.stable.err 
b/sql/test/miscellaneous/Tests/simple_selects.stable.err
--- a/sql/test/miscellaneous/Tests/simple_selects.stable.err
+++ b/sql/test/miscellaneous/Tests/simple_selects.stable.err
@@ -193,9 +193,9 @@ MAPI  = (monetdb) /var/tmp/mtest-400226/
 QUERY = select 'a' like 'a' escape 'a'; --error, like sequence ending with 
escape character 
 ERROR = !Illegal argument: (I)LIKE pattern must not end with escape character
 CODE  = 22019
-MAPI  = (monetdb) /var/tmp/mtest-107867/.s.monetdb.37815
-QUERY = select cast(9223372036854775808 as interval month); --error value to 
large for a month interval
-ERROR = !Value too large to fit at a month_interval
+MAPI  = (monetdb) /var/tmp/mtest-30988/.s.monetdb.33670
+QUERY = select cast(92233720368547750 as interval month); --error value too 
large for a month interval
+ERROR = !Value 92233720368547750 too large to fit at a month_interval
 CODE  = 22003
 MAPI  = (monetdb) /var/tmp/mtest-107867/.s.monetdb.37815
 QUERY = select cast(92233720368547750 as interval second); --error, overflow 
in conversion for interval second
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to