~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int64_t.h

  • Committer: Andrey Hristov
  • Date: 2008-08-06 00:04:45 UTC
  • mto: (264.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 266.
  • Revision ID: ahristov@mysql.com-20080806000445-84urmltikgwk9v5d
Constify the usage of CHARSET_INFO almost to the last place in the code.
99% of the parameters are const CHARSET_INFO * const cs.
Wherever possible stack variables are also double consted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  enum_field_types type() const { return DRIZZLE_TYPE_LONGLONG;}
44
44
  enum ha_base_keytype key_type() const
45
45
    { return unsigned_flag ? HA_KEYTYPE_ULONGLONG : HA_KEYTYPE_LONGLONG; }
46
 
  int store(const char *to,uint length,CHARSET_INFO *charset);
 
46
  int store(const char *to,uint length, const CHARSET_INFO * const charset);
47
47
  int store(double nr);
48
48
  int store(int64_t nr, bool unsigned_val);
49
49
  int reset(void)