Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/mariabackup/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 768 B image not shown  

Quelle  partition_notwin.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: Lisp {Lisp[52] Masm[52] SQL[48]} [Methode: maximale Elemente, drei Dimensionen]

source include/not_windows.inc;
source include/have_partition.inc;
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
let $log=$MYSQL_TMP_DIR/backup.log;

--echo #
--echo # MDEV-36437 mariabackup - confusing error message when running out of file handles with partitioned MyISAM
--echo #

create table t1 (
  id bigint(20) not null auto_increment,
  primary key (id)
) engine=myisam
 partition by hash (id)
 partitions 600;

error 1;
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir > $log 2>&1;
let SEARCH_FILE=$log;
let SEARCH_PATTERN=Error 24 on file ./test/t1#P#p\d+\.MY[DI] open during `test`.`t1` table copy: Too many open files;
source include/search_pattern_in_file.inc;

rmdir $targetdir;
#remove_file $log;
drop table t1;

[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-10-08]