mirror of
https://github.com/MariaDB/server.git
synced 2025-06-04 18:03:14 +03:00
row_build_spatial_index_key(): Return early if the column is missing in the table row tuple. This is a regression that was introduced by commit 0e5a4ac2532c64a545796c787354dc41d61d0e62.
21 lines
560 B
Plaintext
21 lines
560 B
Plaintext
--source include/have_innodb.inc
|
|
|
|
SET @saved_frequency = @@GLOBAL.innodb_purge_rseg_truncate_frequency;
|
|
SET GLOBAL innodb_purge_rseg_truncate_frequency = 1;
|
|
|
|
CREATE TABLE t1 (g MULTIPOINT NOT NULL) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES ('');
|
|
|
|
connect purge_control,localhost,root;
|
|
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
|
connection default;
|
|
|
|
DELETE FROM t1;
|
|
|
|
ALTER TABLE t1 ADD SPATIAL INDEX (g);
|
|
|
|
disconnect purge_control;
|
|
--source ../../innodb/include/wait_all_purged.inc
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency;
|