File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
and doing this for each subsequent page. Dictionary 'broken_pages_map' is used to store LIST of pages
17
17
for each encountered page type;
18
18
* close connection;
19
- * open test DB file in binary mode for reading and writing, and:
19
+ * open test DB file in binary mode for writing and:
20
20
** store previous content of .fdb in variable 'raw_db_content' (for further restore);
21
21
** for every page types that are stored in broken_pages_map.keys():
22
- **** get list of pages of that type which must be broken;
23
- **** if page_type is POINTER_PAGE or IDX_ROOT_PAGE - do nothing (we can get problems if these pages are broken);
24
- **** otherwise put 'garbage bytes' in each of these pages;
22
+ *** get list of pages of that type which must be broken;
23
+ *** if page_type is POINTER_PAGE or IDX_ROOT_PAGE - do nothing (we can get problems if these pages are broken);
24
+ *** otherwise put 'garbage bytes' in each of these pages (multiple pages for each type will be damaged) ;
25
25
* close DB file
26
26
* ENCRYPT database, see call of func 'run_encr_decr';
27
27
* run 'gstat -e' and check its output for presense of several expected patterns:
You can’t perform that action at this time.
0 commit comments