mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34119 Assertion `page_dir_get_n_heap(new_page) == 2U' failed in dberr_t PageBulk::init()
Problem: ======= - insert..select statement on partition table fails to use bulk insert for the transaction. Solution: ======== - Enable the bulk insert operation for insert..select statement for partition table.
This commit is contained in:
@@ -9,11 +9,10 @@
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
@@ -541,26 +541,4 @@
|
||||
DELETE FROM t1;
|
||||
@@ -542,28 +542,6 @@
|
||||
commit;
|
||||
DROP TABLE t1;
|
||||
-#
|
||||
#
|
||||
-# MDEV-35475 Assertion `!rec_offs_nth_extern(offsets1, n)'
|
||||
-# failed in cmp_rec_rec_simple_field
|
||||
-#
|
||||
@@ -35,4 +34,7 @@
|
||||
-(REPEAT('x',16111),'bb'), (REPEAT('x',4805),'cc'),
|
||||
-(REPEAT('x',65535),'dd');
|
||||
-DROP TABLE t1;
|
||||
# End of 10.11 tests
|
||||
-#
|
||||
# Assertion `page_dir_get_n_heap(new_page) == 2U' failed
|
||||
# in dberr_t PageBulk::init()
|
||||
#
|
||||
|
@@ -9,11 +9,10 @@
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
@@ -541,26 +541,4 @@
|
||||
DELETE FROM t1;
|
||||
@@ -542,28 +542,6 @@
|
||||
commit;
|
||||
DROP TABLE t1;
|
||||
-#
|
||||
#
|
||||
-# MDEV-35475 Assertion `!rec_offs_nth_extern(offsets1, n)'
|
||||
-# failed in cmp_rec_rec_simple_field
|
||||
-#
|
||||
@@ -35,4 +34,7 @@
|
||||
-(REPEAT('x',16111),'bb'), (REPEAT('x',4805),'cc'),
|
||||
-(REPEAT('x',65535),'dd');
|
||||
-DROP TABLE t1;
|
||||
# End of 10.11 tests
|
||||
-#
|
||||
# Assertion `page_dir_get_n_heap(new_page) == 2U' failed
|
||||
# in dberr_t PageBulk::init()
|
||||
#
|
||||
|
@@ -563,4 +563,21 @@ INSERT INTO t1 VALUES (REPEAT('x',4805),'a'), (REPEAT('x',16111),'b'),
|
||||
(REPEAT('x',16111),'bb'), (REPEAT('x',4805),'cc'),
|
||||
(REPEAT('x',65535),'dd');
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Assertion `page_dir_get_n_heap(new_page) == 2U' failed
|
||||
# in dberr_t PageBulk::init()
|
||||
#
|
||||
CREATE TABLE t1(f1 INT)ENGINE=InnoDB PARTITION BY RANGE (f1) (PARTITION p0 VALUES LESS THAN (100));
|
||||
SET @old_bulk_op=
|
||||
(SELECT variable_value FROM information_schema.global_status
|
||||
WHERE variable_name = 'innodb_bulk_operations');
|
||||
BEGIN;
|
||||
INSERT INTO t1 SELECT seq FROM seq_1_to_1;
|
||||
COMMIT;
|
||||
SELECT variable_value-@old_bulk_op bulk_operations
|
||||
FROM information_schema.global_status
|
||||
WHERE variable_name = 'innodb_bulk_operations';
|
||||
bulk_operations
|
||||
1
|
||||
DROP TABLE t1;
|
||||
# End of 10.11 tests
|
||||
|
Reference in New Issue
Block a user