persistentstorage/sql/TEST/testexecute/SQLite/config/Robustness.ini.EMULATOR
changeset 35 0d6db0a14001
parent 0 08ec8eefde2f
equal deleted inserted replaced
25:63532cdadd44 35:0d6db0a14001
    17 // Fill the disk to within 100K of full. First fill to within 150k so we have
    17 // Fill the disk to within 100K of full. First fill to within 150k so we have
    18 // an easy way of quickly getting 50K of disk back - by deleting 'fillfile'.
    18 // an easy way of quickly getting 50K of disk back - by deleting 'fillfile'.
    19 NewBlock5=FillDisk150K
    19 NewBlock5=FillDisk150K
    20 NewBlock6=FillDisk100K
    20 NewBlock6=FillDisk100K
    21 
    21 
    22 Exec7=Begin Transaction;
    22 NoOperation7=
    23 // Fill the disk until an out of disk error occurs. Then close the
    23 // Fill the disk until an out of disk error occurs. Then close the
    24 // database because once it's reported a disk full error all bets are off..
    24 // database because once it's reported a disk full error all bets are off..
    25 NewBlock8=FillDisk1
    25 NewBlock8=FillDisk1
    26 Close9=
    26 Close9=
    27 
    27 
    31 
    31 
    32 // Re-open the database. This is the point of the test - the database should
    32 // Re-open the database. This is the point of the test - the database should
    33 // still be usable.
    33 // still be usable.
    34 Open11=T:\Robustness0.db
    34 Open11=T:\Robustness0.db
    35 
    35 
    36 // Check the original block is still ok...
       
    37 NewBlock12=CheckBlock10-1
       
    38 
       
    39 // Delete the data that we used to fill the disk. This is easy, our 'AddBlock'
    36 // Delete the data that we used to fill the disk. This is easy, our 'AddBlock'
    40 // data has 'Someint' values that are negative, the filldisk data is positive.
    37 // data has 'Someint' values that are negative, the filldisk data is positive.
    41 Exec13=Delete From Sometable where Someint >= 0;
    38 Exec12=Delete From Sometable where Someint >= 0;
       
    39 
       
    40 // Check the original block is still ok...
       
    41 NewBlock13=CheckBlock10-1
    42 
    42 
    43 NewBlock14=AddBlock10-2
    43 NewBlock14=AddBlock10-2
    44 NewBlock15=CheckBlock10-2
    44 NewBlock15=CheckBlock10-2
    45 
    45 
    46 Close16=
    46 Close16=