Comment 1 for bug 1025705

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

1. Basically assert is 0 (default behavior, to crash) and warn is 1 (warn and disable).

2. Actually there is another value - salvage

=====
const char *corrupt_table_action_names[]=
{
  "assert", /* 0 */
  "warn", /* 1 */
  "salvage", /* 2 */
  NullS
};
=====

From the code I have seen it looks like 'salvage' filters writes (in _fil_io) or to skip a corrupted record (in row_search_for_mysql).