~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_check.cc

Merge trunk and resolve all conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  only. And it is sufficient to calculate the checksum once only.
41
41
*/
42
42
 
43
 
#include "myisamdef.h"
 
43
#include "myisam_priv.h"
44
44
#include <mystrings/m_string.h>
45
45
#include <stdarg.h>
46
46
#include <mysys/my_getopt.h>
1311
1311
 
1312
1312
    However, there is an exception. Sometimes MySQL disables non-unique
1313
1313
    indexes when the table is empty (e.g. when copying a table in
1314
 
    mysql_alter_table()). When enabling the non-unique indexes, they
 
1314
    drizzled::alter_table()). When enabling the non-unique indexes, they
1315
1315
    are still empty. So there is no index block that can be lost. This
1316
1316
    optimization is implemented in this function.
1317
1317