~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_bitmap.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
}
84
84
 
85
85
 
86
 
static inline void bitmap_lock(MY_BITMAP *map __attribute__((unused)))
 
86
static inline void bitmap_lock(MY_BITMAP *map)
87
87
{
88
88
  if (map->mutex)
89
89
    pthread_mutex_lock(map->mutex);
90
90
}
91
91
 
92
 
static inline void bitmap_unlock(MY_BITMAP *map __attribute__((unused)))
 
92
static inline void bitmap_unlock(MY_BITMAP *map)
93
93
{
94
94
  if (map->mutex)
95
95
    pthread_mutex_unlock(map->mutex);
96
96
}
97
97
 
98
98
 
99
 
bool bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint32_t n_bits,
100
 
                    bool thread_safe __attribute__((unused)))
 
99
bool bitmap_init(MY_BITMAP *map, my_bitmap_map *buf, uint32_t n_bits, bool thread_safe)
101
100
{
102
101
  if (!buf)
103
102
  {
791
790
  return true;
792
791
}
793
792
 
794
 
bool test_operators(MY_BITMAP *map __attribute__((unused)),
795
 
                    uint32_t bitsize __attribute__((unused)))
 
793
bool test_operators(MY_BITMAP *, uint32_t)
796
794
{
797
795
  return false;
798
796
}