~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/handler.h

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
559
559
   int (*fill_files_table)(handlerton *hton, THD *thd,
560
560
                           TABLE_LIST *tables,
561
561
                           class Item *cond);
562
 
   uint32 flags;                                /* global handler flags */
 
562
   uint32_t flags;                                /* global handler flags */
563
563
   int (*release_temporary_latches)(handlerton *hton, THD *thd);
564
564
 
565
565
   int (*discover)(handlerton *hton, THD* thd, const char *db, 
568
568
                   size_t *frmlen);
569
569
   int (*table_exists_in_engine)(handlerton *hton, THD* thd, const char *db,
570
570
                                 const char *name);
571
 
   uint32 license; /* Flag for Engine License */
 
571
   uint32_t license; /* Flag for Engine License */
572
572
   void *data; /* Location for engines to keep personal structures */
573
573
};
574
574
 
747
747
class Item;
748
748
struct st_table_log_memory_entry;
749
749
 
750
 
#define NOT_A_PARTITION_ID ((uint32)-1)
 
750
#define NOT_A_PARTITION_ID ((uint32_t)-1)
751
751
 
752
752
enum ha_choice { HA_CHOICE_UNDEF, HA_CHOICE_NO, HA_CHOICE_YES };
753
753
 
1513
1513
    { return (ha_rows) 10; }
1514
1514
  virtual void position(const uchar *record)=0;
1515
1515
  virtual int info(uint)=0; // see my_base.h for full description
1516
 
  virtual uint32 calculate_key_hash_value(Field **field_array __attribute__((__unused__)))
 
1516
  virtual uint32_t calculate_key_hash_value(Field **field_array __attribute__((__unused__)))
1517
1517
  { assert(0); return 0; }
1518
1518
  virtual int extra(enum ha_extra_function operation __attribute__((__unused__)))
1519
1519
  { return 0; }
2218
2218
  return db_type == NULL ? "UNKNOWN" : hton2plugin[db_type->slot]->name.str;
2219
2219
}
2220
2220
 
2221
 
static inline bool ha_check_storage_engine_flag(const handlerton *db_type, uint32 flag)
 
2221
static inline bool ha_check_storage_engine_flag(const handlerton *db_type, uint32_t flag)
2222
2222
{
2223
2223
  return db_type == NULL ? false : test(db_type->flags & flag);
2224
2224
}