~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Brian Aker
  • Date: 2008-08-09 02:51:06 UTC
  • Revision ID: brian@tangent.org-20080809025106-cnk5oxfjkb882c2r
Full removal of my_bool from central server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
  uint name_length;                     /* Length of name */
476
476
  int8_t marker;
477
477
  uint8_t decimals;
478
 
  my_bool maybe_null;                   /* If item may be null */
479
 
  my_bool null_value;                   /* if item is null */
480
 
  my_bool unsigned_flag;
481
 
  my_bool with_sum_func;
482
 
  my_bool fixed;                        /* If item fixed with fix_fields */
483
 
  my_bool is_autogenerated_name;        /* indicate was name of this Item
 
478
  bool maybe_null;                      /* If item may be null */
 
479
  bool null_value;                      /* if item is null */
 
480
  bool unsigned_flag;
 
481
  bool with_sum_func;
 
482
  bool fixed;                        /* If item fixed with fix_fields */
 
483
  bool is_autogenerated_name;        /* indicate was name of this Item
484
484
                                           autogenerated or set by user */
485
485
  DTCollation collation;
486
 
  my_bool with_subselect;               /* If this item is a subselect or some
 
486
  bool with_subselect;               /* If this item is a subselect or some
487
487
                                           of its arguments is or contains a
488
488
                                           subselect. Computed by fix_fields. */
489
489
  Item_result cmp_context;              /* Comparison context */
2068
2068
{
2069
2069
  Item *ref;
2070
2070
public:
2071
 
  Item_int_with_ref(int64_t i, Item *ref_arg, my_bool unsigned_arg) :
 
2071
  Item_int_with_ref(int64_t i, Item *ref_arg, bool unsigned_arg) :
2072
2072
    Item_int(i), ref(ref_arg)
2073
2073
  {
2074
2074
    unsigned_flag= unsigned_arg;
2098
2098
  Item *item;
2099
2099
  Item_copy_string(Item *i) :item(i)
2100
2100
  {
2101
 
    null_value=maybe_null=item->maybe_null;
 
2101
    null_value= maybe_null= item->maybe_null;
2102
2102
    decimals=item->decimals;
2103
2103
    max_length=item->max_length;
2104
2104
    name=item->name;
2140
2140
class Cached_item :public Sql_alloc
2141
2141
{
2142
2142
public:
2143
 
  my_bool null_value;
 
2143
  bool null_value;
2144
2144
  Cached_item() :null_value(0) {}
2145
2145
  virtual bool cmp(void)=0;
2146
2146
  virtual ~Cached_item(); /*line -e1509 */