Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Intentionally Corrupt a Table?
Message
From
19/05/2004 19:24:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
19/05/2004 18:28:36
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00905438
Message ID:
00905448
Views:
16
Apart from problems with Novell, I believe that the typical scenario might be more or less like this:
  • Open a table. (For simplicity, don't use buffering.)
  • Do some changes, in one record, or in several. (Don't use FLUSH.) (Don't close the table.)
  • Pull the plug off your machine.

    Note: It is convenient to do these tests on a machine without critical data, or else to have a recent backup.

    >Hi All
    >
    >Not so strange a question.
    >I want to test table repair software against corrupt VFP tables.
    >
    >Yes, I could use a hex editor and really hose things up. But my goal is to test against tables that are corrupted as nearly as possible as they occur in the field. I need several different types of corruption too, including fpt failures, cdx failures, etc.
    >
    >Does anybody know how to go about doing this?
    >
    >Thanks
    >Don Lowrey
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform