~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field.cc

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
734
734
Field_num::Field_num(uchar *ptr_arg,uint32_t len_arg, uchar *null_ptr_arg,
735
735
                     uchar null_bit_arg, utype unireg_check_arg,
736
736
                     const char *field_name_arg,
737
 
                     uint8 dec_arg, bool zero_arg, bool unsigned_arg)
 
737
                     uint8_t dec_arg, bool zero_arg, bool unsigned_arg)
738
738
  :Field(ptr_arg, len_arg, null_ptr_arg, null_bit_arg,
739
739
         unireg_check_arg, field_name_arg),
740
740
  dec(dec_arg),zerofill(zero_arg),unsigned_flag(unsigned_arg)
1636
1636
 
1637
1637
bool Field_tiny::send_binary(Protocol *protocol)
1638
1638
{
1639
 
  return protocol->store_tiny((int64_t) (int8) ptr[0]);
 
1639
  return protocol->store_tiny((int64_t) (int8_t) ptr[0]);
1640
1640
}
1641
1641
 
1642
1642
int Field_tiny::cmp(const uchar *a_ptr, const uchar *b_ptr)
1999
1999
    return (int64_t) ptr[0];
2000
2000
  case 2:
2001
2001
  {
2002
 
    uint16 tmp;
 
2002
    uint16_t tmp;
2003
2003
#ifdef WORDS_BIGENDIAN
2004
2004
    if (table->s->db_low_byte_first)
2005
2005
      tmp=sint2korr(ptr);