~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamchk.c

  • Committer: Brian Aker
  • Date: 2008-11-22 03:37:48 UTC
  • Revision ID: brian@tangent.org-20081122033748-tqraexv8qb2qal4h
Removed mutex which are myisam from global to just engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
#include "myisamdef.h"
35
35
 
 
36
pthread_mutex_t THR_LOCK_myisam= PTHREAD_MUTEX_INITIALIZER;
 
37
 
36
38
static uint32_t decode_bits;
37
39
static char **default_argv;
38
40
static const char *load_default_groups[]= { "myisamchk", 0 };
129
131
    printf("\nTotal of all %d MyISAM-files:\nData records: %9s   Deleted blocks: %9s\n",check_param.total_files,llstr(check_param.total_records,buff),
130
132
           llstr(check_param.total_deleted,buff2));
131
133
  }
 
134
 
 
135
  pthread_mutex_destroy(&THR_LOCK_myisam);
 
136
 
132
137
  free_defaults(default_argv);
133
138
  free_tmpdir(&myisamchk_tmpdir);
134
139
  my_end(check_param.testflag & T_INFO ? MY_CHECK_ERROR | MY_GIVE_INFO : MY_CHECK_ERROR);