Lines Matching refs:error
66 # Turn off IO error simulation.
76 # The following procedure runs with SQLite's IO error simulation
86 # file. If an IO error is reported, then the backup process is
89 # If an IO error occurs, verify that:
91 # * the call to backup_step() returns an SQLITE_IOERR_XXX error code.
94 # backup_finish() the destination database handle error code and
95 # error message remain unchanged.
97 # * the call to backup_finish() returns an SQLITE_IOERR_XXX error code.
100 # handle has been populated with an error code and error message.
105 # * If an IO error occurs while writing the source database, the
106 # write operation should report an IO error. The backup should
109 # * If an IO error occurs while updating the backup, the write
110 # operation should proceed normally. The error should be reported
114 # 5) Step the backup process to finish the backup. If an IO error is
118 # Test that if an IO error occurs, or if one occurred while updating
153 # Disable IO error simulation.
174 # Enable IO error simulation.
178 # Step 3: Partially backup the database. If an IO error occurs, check
189 } {SQLITE_OK {not an error}}
198 } {disk I/O error}
207 # No IO error was encountered during step 3. Check that backup_step()
217 # The IO error occurred while updating the source database. In this
241 # Step 5: Finish the backup operation. If an IO error occurs, check that
251 } {SQLITE_OK {not an error}}
259 } {disk I/O error}