1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-34118 fsp_alloc_free_extent() fails to flag DB_OUT_OF_FILE_SPACE

fsp_alloc_free_extent(): When applicable, set *err = DB_OUT_OF_FILE_SPACE.
This commit is contained in:
Marko Mäkelä
2024-05-10 12:49:16 +03:00
parent 887bb3f735
commit 6bf2b64a97
3 changed files with 30 additions and 0 deletions

View File

@ -801,4 +801,14 @@ CHECK TABLE t EXTENDED;
Table Op Msg_type Msg_text
test.t check status OK
DROP TEMPORARY TABLE t;
#
# MDEV-34118 fsp_alloc_free_extent() fails to flag DB_OUT_OF_FILE_SPACE
#
SET @save_increment = @@GLOBAL.innodb_autoextend_increment;
SET GLOBAL innodb_autoextend_increment=1;
CREATE TEMPORARY TABLE t (c LONGTEXT) ENGINE=INNODB;
INSERT INTO t VALUES (REPEAT ('1',16777216));
ERROR HY000: The table 't' is full
DROP TEMPORARY TABLE t;
SET GLOBAL innodb_autoextend_increment=@save_increment;
# End of 10.6 tests