mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
row_ins_sec_index_entry_low(): If a separate mini-transaction is needed to adjust the minimum bounding rectangle (MBR) in the parent page, we must disable redo logging if the table is a temporary table. For temporary tables, no log is supposed to be written, because the temporary tablespace will be reinitialized on server restart. rtr_update_mbr_field(): Plug a memory leak.
19 lines
606 B
Plaintext
19 lines
606 B
Plaintext
--source include/have_innodb.inc
|
|
--source include/have_sequence.inc
|
|
|
|
--echo #
|
|
--echo # MDEV-27417 Spatial index tries to update
|
|
--echo # change buffer bookkeeping page
|
|
--echo #
|
|
CREATE TEMPORARY TABLE t1 (c POINT NOT NULL, SPATIAL(c)) ENGINE=InnoDB;
|
|
INSERT INTO t1 SELECT PointFromText('POINT(0 0)') FROM seq_1_to_366;
|
|
DROP TABLE t1;
|
|
|
|
--echo #
|
|
--echo # MDEV-28478 Assertion mtr->get_log_mode() == MTR_LOG_NO_REDO
|
|
--echo #
|
|
CREATE TEMPORARY TABLE t1 (c POINT NOT NULL,SPATIAL (c)) ENGINE=InnoDB;
|
|
INSERT INTO t1 SELECT POINT(0,0) FROM seq_1_to_366;
|
|
INSERT INTO t1 VALUES (POINT(1e-270,1e-130));
|
|
DROP TABLE t1;
|