Olaf Beckman Lapré schrieb:
Hi,

Is there a way to do this programmatically? I would like to recover from a
damaged database upon program startup.

1. Copy the code for dump command from shell.c
2. Try if "vacuum;" command repairs the database. with "pragma integrity_check;" you can check if the repair succeeded.

regards,
gunnar


Reply via email to