aboutsummaryrefslogtreecommitdiff
path: root/ext/rtree/rtree1.test
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rtree/rtree1.test')
-rw-r--r--ext/rtree/rtree1.test20
1 files changed, 11 insertions, 9 deletions
diff --git a/ext/rtree/rtree1.test b/ext/rtree/rtree1.test
index 2d8458a53..61664e152 100644
--- a/ext/rtree/rtree1.test
+++ b/ext/rtree/rtree1.test
@@ -774,15 +774,17 @@ do_execsql_test 21.1 {
# Round-off error associated with using large integer constraints on
# a rtree search.
#
-reset_db
-do_execsql_test 22.0 {
- CREATE VIRTUAL TABLE t1 USING rtree ( id, x0, x1 );
- INSERT INTO t1 VALUES (123, 9223372036854775799, 9223372036854775800);
- SELECT id FROM t1 WHERE x0 > 9223372036854775807;
-} {123}
-do_execsql_test 22.1 {
- SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1;
-} {123 1}
+if {$tcl_platform(machine)!="i686" || $tcl_platform(os)!="Linux"} {
+ reset_db
+ do_execsql_test 22.0 {
+ CREATE VIRTUAL TABLE t1 USING rtree ( id, x0, x1 );
+ INSERT INTO t1 VALUES (123, 9223372036854775799, 9223372036854775800);
+ SELECT id FROM t1 WHERE x0 > 9223372036854775807;
+ } {123}
+ do_execsql_test 22.1 {
+ SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1;
+ } {123 1}
+}
# 2023-10-14 dbsqlfuzz --sql-fuzz find. rtreecheck() should not call
# BEGIN/COMMIT because that causes problems with statement transactions,