~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.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:
127
127
     This trickery is used to decrease a number of malloc calls.
128
128
  */
129
129
  virtual String *val_str(String*,String *)=0;
130
 
  String *val_int_as_str(String *val_buffer, my_bool unsigned_flag);
 
130
  String *val_int_as_str(String *val_buffer, bool unsigned_flag);
131
131
  /*
132
132
   str_needs_quotes() returns true if the value returned by val_str() needs
133
133
   to be quoted when used in constructing an SQL query.
431
431
 
432
432
  virtual int pack_cmp(const uchar *a,const uchar *b,
433
433
                       uint key_length_arg __attribute__((unused)),
434
 
                       my_bool insert_or_update __attribute__((unused)))
 
434
                       bool insert_or_update __attribute__((unused)))
435
435
  { return cmp(a,b); }
436
436
  virtual int pack_cmp(const uchar *b,
437
437
                       uint key_length_arg __attribute__((unused)),
438
 
                       my_bool insert_or_update __attribute__((unused)))
 
438
                       bool insert_or_update __attribute__((unused)))
439
439
  { return cmp(ptr,b); }
440
440
  uint offset(uchar *record)
441
441
  {
620
620
/* base class for float and double and decimal (old one) */
621
621
class Field_real :public Field_num {
622
622
public:
623
 
  my_bool not_fixed;
 
623
  bool not_fixed;
624
624
 
625
625
  Field_real(uchar *ptr_arg, uint32_t len_arg, uchar *null_ptr_arg,
626
626
             uchar null_bit_arg, utype unireg_check_arg,