Bug #38913 Variable maria_recovery does not exist.
Submitted: 20 Aug 2008 11:50 Modified: 20 Aug 2008 13:20
Reporter: Santo Leto Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:6.0 - rev.11577 OS:Any
Assigned to: MC Brown CPU Architecture:Any
Tags: MARIA, maria_recover, maria_recovery

[20 Aug 2008 11:50] Santo Leto
Description:
In the page http://dev.mysql.com/doc/refman/6.0/en/se-maria-configuration.html you can read

"maria_recovery: Forces recovery of corrupted Maria tables without using the log files. Unlike the automatic recovery supported by Maria on transactional tables, maria-recovery will work for all Maria tables."

If I am not mistaken, that variable doesn't exist. Maybe the variable is "maria_recover".

How to repeat:
mysql> select version();
+---------------------------+
| version()                 |
+---------------------------+
| 6.0.6-alpha-community-log |
+---------------------------+
1 row in set (0.00 sec)

mysql> show variables like 'maria_recovery';
Empty set (0.00 sec)

mysql> show variables like 'maria_recover';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| maria_recover | OFF   |
+---------------+-------+
1 row in set (0.00 sec)

mysql> set global maria_recover=1;
Query OK, 0 rows affected (0.00 sec)

mysql> show variables like 'maria_recover';
+---------------+--------+
| Variable_name | Value  |
+---------------+--------+
| maria_recover | NORMAL |
+---------------+--------+
1 row in set (0.00 sec)

mysql>

Suggested fix:
maria_recovery --> maria_recover
[20 Aug 2008 11:56] MySQL Verification Team
Thank you for the bug report.
[20 Aug 2008 13:20] MC Brown
I've updated the documentation to change maria_recovery to maria_recover. 

An updated version of the online docs will appear in an hour or two.