~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/long.h

  • Committer: Jay Pipes
  • Date: 2008-07-28 03:14:15 UTC
  • mfrom: (214 drizzle)
  • mto: (212.1.9 codestyle)
  • mto: This revision was merged to the branch mainline in revision 218.
  • Revision ID: jay@mysql.com-20080728031415-zhewwjiaazal29jm
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  void sql_type(String &str) const;
57
57
  uint32_t max_display_length() { return MY_INT32_NUM_DECIMAL_DIGITS; }
58
58
  virtual uchar *pack(uchar* to, const uchar *from,
59
 
                      uint max_length __attribute__((__unused__)),
60
 
                      bool low_byte_first __attribute__((__unused__)))
 
59
                      uint max_length __attribute__((unused)),
 
60
                      bool low_byte_first __attribute__((unused)))
61
61
  {
62
62
    int32_t val;
63
63
#ifdef WORDS_BIGENDIAN
77
77
  }
78
78
 
79
79
  virtual const uchar *unpack(uchar* to, const uchar *from,
80
 
                              uint param_data __attribute__((__unused__)),
81
 
                              bool low_byte_first __attribute__((__unused__)))
 
80
                              uint param_data __attribute__((unused)),
 
81
                              bool low_byte_first __attribute__((unused)))
82
82
  {
83
83
    int32_t val;
84
84
#ifdef WORDS_BIGENDIAN