~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                                    TABLE_SHARE *table, 
28
28
                                    MEM_ROOT *mem_root);
29
29
 
30
 
int heap_panic(handlerton *hton __attribute__((__unused__)),
 
30
int heap_panic(handlerton *hton __attribute__((unused)),
31
31
               ha_panic_function flag)
32
32
{
33
33
  return hp_panic(flag);
361
361
  return error;
362
362
}
363
363
 
364
 
void ha_heap::position(const uchar *record __attribute__((__unused__)))
 
364
void ha_heap::position(const uchar *record __attribute__((unused)))
365
365
{
366
366
  *(HEAP_PTR*) ref= heap_position(file);        // Ref is aligned
367
367
}
418
418
  return 0;
419
419
}
420
420
 
421
 
int ha_heap::external_lock(THD *thd __attribute__((__unused__)),
422
 
                           int lock_type __attribute__((__unused__)))
 
421
int ha_heap::external_lock(THD *thd __attribute__((unused)),
 
422
                           int lock_type __attribute__((unused)))
423
423
{
424
424
  return 0;                                     // No external locking
425
425
}
532
532
  return heap_indexes_are_disabled(file);
533
533
}
534
534
 
535
 
THR_LOCK_DATA **ha_heap::store_lock(THD *thd __attribute__((__unused__)),
 
535
THR_LOCK_DATA **ha_heap::store_lock(THD *thd __attribute__((unused)),
536
536
                                    THR_LOCK_DATA **to,
537
537
                                    enum thr_lock_type lock_type)
538
538
{
554
554
}
555
555
 
556
556
 
557
 
void ha_heap::drop_table(const char *name __attribute__((__unused__)))
 
557
void ha_heap::drop_table(const char *name __attribute__((unused)))
558
558
{
559
559
  file->s->delete_on_close= 1;
560
560
  close();
716
716
    create_info->auto_increment_value= stats.auto_increment_value;
717
717
}
718
718
 
719
 
void ha_heap::get_auto_increment(uint64_t offset __attribute__((__unused__)),
720
 
                                 uint64_t increment __attribute__((__unused__)),
721
 
                                 uint64_t nb_desired_values __attribute__((__unused__)),
 
719
void ha_heap::get_auto_increment(uint64_t offset __attribute__((unused)),
 
720
                                 uint64_t increment __attribute__((unused)),
 
721
                                 uint64_t nb_desired_values __attribute__((unused)),
722
722
                                 uint64_t *first_value,
723
723
                                 uint64_t *nb_reserved_values)
724
724
{