~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.cc

  • Committer: Monty Taylor
  • Date: 2008-09-23 14:19:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923141948-ktph2kg13addaxq1
Actually removed VOID() this time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
  handlerton *tina_hton;
104
104
 
105
105
  tina_hton= (handlerton *)p;
106
 
  VOID(pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST));
 
106
  pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST);
107
107
  (void) hash_init(&tina_open_tables,system_charset_info,32,0,0,
108
108
                   (hash_get_key) tina_get_key,0,0);
109
109
  tina_hton->state= SHOW_OPTION_YES;
232
232
  uchar meta_buffer[META_BUFFER_SIZE];
233
233
  uchar *ptr= meta_buffer;
234
234
 
235
 
  VOID(my_seek(meta_file, 0, MY_SEEK_SET, MYF(0)));
 
235
  my_seek(meta_file, 0, MY_SEEK_SET, MYF(0));
236
236
  if (my_read(meta_file, (uchar*)meta_buffer, META_BUFFER_SIZE, 0)
237
237
      != META_BUFFER_SIZE)
238
238
    return(HA_ERR_CRASHED_ON_USAGE);
299
299
  ptr+= 3*sizeof(uint64_t);
300
300
  *ptr= (uchar)dirty;
301
301
 
302
 
  VOID(my_seek(meta_file, 0, MY_SEEK_SET, MYF(0)));
 
302
  my_seek(meta_file, 0, MY_SEEK_SET, MYF(0));
303
303
  if (my_write(meta_file, (uchar *)meta_buffer, META_BUFFER_SIZE, 0)
304
304
      != META_BUFFER_SIZE)
305
305
    return(-1);