~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item.h

  • Committer: Brian Aker
  • Date: 2008-07-22 17:19:24 UTC
  • Revision ID: brian@tangent.org-20080722171924-6wf69aguugtwfr72
Small cleanup around uint32 types (need to merge).

Show diffs side-by-side

added added

removed removed

Lines of Context:
476
476
  /* Original item name (if it was renamed)*/
477
477
  char * orig_name;
478
478
  Item *next;
479
 
  uint32 max_length;
 
479
  uint32_t max_length;
480
480
  uint name_length;                     /* Length of name */
481
481
  int8 marker;
482
482
  uint8 decimals;
1166
1166
  Item *equal_fields_propagator(uchar *arg);
1167
1167
  bool set_no_const_sub(uchar *arg);
1168
1168
  Item *replace_equal_field(uchar *arg);
1169
 
  inline uint32 max_disp_length() { return field->max_display_length(); }
 
1169
  inline uint32_t max_disp_length() { return field->max_display_length(); }
1170
1170
  Item_field *filed_for_view_update() { return this; }
1171
1171
  Item *safe_charset_converter(CHARSET_INFO *tocs);
1172
1172
  int fix_outer_field(THD *thd, Field **field, Item **reference);
1312
1312
  int  save_in_field(Field *field, bool no_conversions);
1313
1313
 
1314
1314
  void set_null();
1315
 
  void set_int(int64_t i, uint32 max_length_arg);
 
1315
  void set_int(int64_t i, uint32_t max_length_arg);
1316
1316
  void set_double(double i);
1317
1317
  void set_decimal(const char *str, ulong length);
1318
1318
  bool set_str(const char *str, ulong length);
1319
1319
  bool set_longdata(const char *str, ulong length);
1320
 
  void set_time(MYSQL_TIME *tm, timestamp_type type, uint32 max_length_arg);
 
1320
  void set_time(MYSQL_TIME *tm, timestamp_type type, uint32_t max_length_arg);
1321
1321
  bool set_from_user_var(THD *thd, const user_var_entry *entry);
1322
1322
  void reset();
1323
1323
  /*
2505
2505
  String *val_str(String*);
2506
2506
  bool join_types(THD *thd, Item *);
2507
2507
  Field *make_field_by_type(TABLE *table);
2508
 
  static uint32 display_length(Item *item);
 
2508
  static uint32_t display_length(Item *item);
2509
2509
  static enum_field_types get_real_type(Item *);
2510
2510
};
2511
2511