1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-02 19:25:03 +03:00
unknown 616fd55753 Patch contributed by Jocelyn Fournier. CLA received 2007-02-27.
Bug#25347: mysqlcheck -A -r doesn't repair table marked as crashed

mysqlcheck tests nullness of the engine type to know whether the
"table" is a view or not.  That also falsely catches tables that 
are severly damaged.

Instead, use SHOW FULL TABLES to test whether a "table" is a view
or not.

(Don't add new function.  Instead, get original data a smarter way.)

Make it safe for use against databases before when views appeared.


client/mysqlcheck.c:
  Use SHOW FULL TABLES to test better whether a name in the table
  list is one of a view.  Checking that the engine is NULL is 
  insufficient.
  
  Implemented suggestion from jimw that involved removing most of 
  original patch and getting data a better way
mysql-test/r/mysqlcheck.result:
  Verify that tables that have NULL/unreadable engine types are 
  processed and not interpreted as views.
mysql-test/t/mysqlcheck.test:
  Verify that tables that have NULL/unreadable engine types are 
  processed and not interpreted as views.
2008-01-23 11:37:46 -05:00
..
2007-08-29 12:44:43 +02:00
2007-11-06 13:53:26 +02:00
2007-11-06 20:31:40 +02:00
2007-08-07 05:35:20 -04:00
2007-04-10 16:55:48 +03:00
2007-07-23 23:35:43 -07:00
2007-06-28 16:03:01 -07:00
2007-06-28 16:03:01 -07:00
2007-07-06 11:35:10 -07:00
2007-07-06 11:35:10 -07:00
2007-12-13 15:47:23 +04:00
2007-11-24 15:02:29 +04:00
2007-03-20 19:36:11 +01:00
2007-07-11 18:45:35 -07:00
2007-02-07 14:22:19 -08:00
2007-02-24 13:12:20 +03:00
2007-06-21 21:39:52 -04:00
2007-02-24 13:12:20 +03:00
2007-06-20 14:21:48 +05:00
2007-11-02 13:40:34 +03:00
2007-11-02 13:40:34 +03:00
2007-08-31 16:59:07 +05:00
2007-08-31 16:59:07 +05:00
2007-11-05 20:18:22 +01:00
2007-10-26 08:42:33 +02:00
2007-03-21 09:13:05 +01:00
2007-11-05 20:18:22 +01:00
2007-06-17 22:04:01 +02:00
2007-06-01 17:49:01 +04:00
2007-11-20 20:15:20 +04:00
2007-11-10 18:27:57 +04:00
2007-06-01 17:49:01 +04:00
2007-06-21 16:55:52 +02:00
2007-02-08 15:53:14 +01:00
2007-06-01 18:04:25 +04:00
2007-06-22 09:28:38 +05:00
2007-05-24 15:35:43 +05:00
2007-05-31 17:30:56 +05:00
2007-11-18 00:02:55 +04:00
2007-09-24 12:42:44 +02:00
2007-08-22 15:43:16 +03:00
2007-10-16 11:16:31 -06:00
2007-06-06 18:55:21 +05:00
2007-04-17 12:32:01 +02:00
2007-07-22 18:26:16 -07:00
2007-07-15 21:51:36 +04:00
2007-03-29 09:08:30 +05:00
2007-06-03 14:46:09 +04:00
2007-02-24 13:12:20 +03:00
2007-04-23 17:15:51 +03:00