~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/table.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 20:15:48 UTC
  • Revision ID: brian@tangent.org-20080713201548-7u4e4a7glm3fi5xn
my_bool cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
/* Get column name from column hash */
95
95
 
96
96
static uchar *get_field_name(Field **buff, size_t *length,
97
 
                             my_bool not_used __attribute__((unused)))
 
97
                             bool not_used __attribute__((unused)))
98
98
{
99
99
  *length= (uint) strlen((*buff)->field_name);
100
100
  return (uchar*) (*buff)->field_name;
2355
2355
                  and such errors never reach the user.
2356
2356
*/
2357
2357
 
2358
 
my_bool
 
2358
bool
2359
2359
table_check_intact(TABLE *table, const uint table_f_count,
2360
2360
                   const TABLE_FIELD_W_TYPE *table_def)
2361
2361
{
2362
2362
  uint i;
2363
 
  my_bool error= false;
2364
 
  my_bool fields_diff_count;
 
2363
  bool error= false;
 
2364
  bool fields_diff_count;
2365
2365
 
2366
2366
  fields_diff_count= (table->s->fields != table_f_count);
2367
2367
  if (fields_diff_count)