| 1 |
CREATE TABLE t(i INT) ENGINE INNODB; |
| 2 |
INSERT INTO t VALUES(1); |
| 3 |
# xtrabackup backup |
| 4 |
# xtrabackup prepare |
| 5 |
# restart server |
| 6 |
# restart |
| 7 |
SELECT * FROM t; |
| 8 |
i |
| 9 |
1 |
| 10 |
DROP TABLE t; |
| 11 |
# |
| 12 |
# MDEV-38562: mariabackup exits with success (0) despite "No space left on device" errors |
| 13 |
# |
| 14 |
# Simulate close() failure (Disk Full / ENOSPC) |
| 15 |
# Verify that "completed OK!" is NOT in the log |
| 16 |
NOT FOUND /completed OK!/ in backup.log |
| 17 |
# Verify that "FATAL ERROR" is in the log |
| 18 |
FOUND 1 /FATAL ERROR/ in backup.log |
| 19 |
# End of 10.6 tests |