| ** This script is called from crash01.test and config02.test and perhaps other |
| ** script. After the database file has been set up, make a big rollback |
| ** journal in client 1, then crash client 1. |
| ** Then in the other clients, do an integrity check. |
| --task 1 leave-hot-journal |
| UPDATE t1 SET b=randomblob(20000); |
| UPDATE t2 SET b=randomblob(20000); |
| UPDATE t3 SET b=randomblob(20000); |
| UPDATE t4 SET b=randomblob(20000); |
| UPDATE t5 SET b=randomblob(20000); |
| --print Task one crashing an incomplete transaction |
| --task 2 integrity_check-2 |
| PRAGMA integrity_check(10); |
| --task 3 integrity_check-3 |
| PRAGMA integrity_check(10); |
| --task 4 integrity_check-4 |
| PRAGMA integrity_check(10); |
| --task 5 integrity_check-5 |
| PRAGMA integrity_check(10); |