Skip to content

Commit 486b4dc

Browse files
author
Shaohua Wang
committed
Followup:BUG#21245805 HA_INNOBASE::RECORDS_IN_RANGE()
RETURNS CONSTANT FOR SPATIAL INDEXES Fix innodb_gis.rtree_estimate failure with embedded runs. The root cause is gcc optimization in linux 32-bit platforms, so the fix is enabling the test only for debug build. Reviewed-by: Jimmy Yang <jimmy.yang@oracle.com> over IM
1 parent 1f4f135 commit 486b4dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mysql-test/suite/innodb_fts/t/cascade_dict_changed.test

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ select f1, f2 from t1_fk;
3737
delete from t1 where f1 = 1;
3838
select f1, f2 from t1;
3939
select f1, f2 from t1_fk;
40+
SET DEBUG='-d,row_ins_dict_change_err';
4041

4142
drop table t1_fk, t1;
4243

mysql-test/suite/innodb_gis/t/rtree_estimate.test

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44

55
--source include/have_innodb.inc
6+
--source include/have_debug.inc
67

78
CREATE TABLE t1 (
89
g GEOMETRY NOT NULL

0 commit comments

Comments
 (0)