~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_cmpfunc.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:
198
198
 
199
199
 
200
200
class Item_cache;
201
 
#define UNKNOWN ((my_bool)-1)
 
201
#define UNKNOWN ((bool)-1)
202
202
 
203
203
 
204
204
/*
227
227
      FALSE   - result is FALSE
228
228
      TRUE    - result is NULL
229
229
  */
230
 
  my_bool result_for_null_param;
 
230
  bool result_for_null_param;
231
231
public:
232
232
  Item_in_optimizer(Item *a, Item_in_subselect *b):
233
233
    Item_bool_func(a, my_reinterpret_cast(Item *)(b)), cache(0),
636
636
class Item_func_interval :public Item_int_func
637
637
{
638
638
  Item_row *row;
639
 
  my_bool use_decimal_comparison;
 
639
  bool use_decimal_comparison;
640
640
  interval_range *intervals;
641
641
public:
642
642
  Item_func_interval(Item_row *a)
845
845
  void value_to_item(uint pos, Item *item)
846
846
  {
847
847
    ((Item_int*) item)->value= ((packed_int64_t*) base)[pos].val;
848
 
    ((Item_int*) item)->unsigned_flag= (my_bool)
 
848
    ((Item_int*) item)->unsigned_flag= (bool)
849
849
      ((packed_int64_t*) base)[pos].unsigned_flag;
850
850
  }
851
851
  Item_result result_type() { return INT_RESULT; }