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).
1. Basically assert is 0 (default behavior, to crash) and warn is 1 (warn and disable).
2. Actually there is another value - salvage
===== table_action_ names[] =
const char *corrupt_
{
"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) .