mariadb/storage
Jon Olav Hauglid e232fbe067 Bug #51327 MyISAM table is automatically repaired on ALTER
even if myisam-recover is OFF

The problem was that a corrupted MyISAM table was auto repaired
even if the myisam_recover_options server variable (or the 
myisam_recover option) was set to OFF.

The reason was that the auto_repair() function, which is supposed
to say if auto repair is to be used, did not use the server variable
setting correctly. This bug was a regression introduced by WL#4738.

This patch fixes the problem by making sure auto_repair() returns
FALSE if myisam_recover_options is set to OFF.

Test case added to myisam.test.
2010-04-15 09:16:29 +02:00
..
archive Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
blackhole Cleanup casing in MYSQL_ADD_PLUGIN, patch provided by Kent 2010-02-01 23:46:02 +01:00
csv Manual merge from mysql-trunk-merge. 2010-02-24 16:52:27 +03:00
example merge 2010-01-18 23:00:48 +01:00
federated merge 2009-12-19 03:21:49 +01:00
heap Mergine from mysql-next-me 2010-02-27 11:43:32 +04:00
ibmdb2i merge 2009-12-22 22:24:55 +01:00
innobase Fix typo (CMAKE_SIZEOF_VOIDP=>CMAKE_SIZEOF_VOID_P) 2010-03-08 00:31:06 +01:00
myisam Bug #51327 MyISAM table is automatically repaired on ALTER 2010-04-15 09:16:29 +02:00
myisammrg merge 2010-02-16 23:19:47 +01:00
ndb Manual merge from mysql-trunk-merge. 2010-03-01 12:39:44 +03:00
perfschema local merge 2010-03-07 10:41:51 -07:00
Makefile.am WL#5161 : Cross-platform build with CMake 2009-11-09 12:32:48 +01:00