~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_func.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:
1214
1214
  String *str_result(String *str);
1215
1215
  my_decimal *val_decimal_result(my_decimal *);
1216
1216
  bool update_hash(void *ptr, uint length, enum Item_result type,
1217
 
                   CHARSET_INFO *cs, Derivation dv, bool unsigned_arg);
 
1217
                   const CHARSET_INFO * const cs, Derivation dv, bool unsigned_arg);
1218
1218
  bool send(Protocol *protocol, String *str_arg);
1219
1219
  void make_field(Send_field *tmp_field);
1220
1220
  bool check(bool use_result_field);
1290
1290
  /* fix_fields() binds variable name with its entry structure */
1291
1291
  bool fix_fields(THD *thd, Item **ref);
1292
1292
  virtual void print(String *str, enum_query_type query_type);
1293
 
  void set_null_value(CHARSET_INFO* cs);
1294
 
  void set_value(const char *str, uint length, CHARSET_INFO* cs);
 
1293
  void set_null_value(const CHARSET_INFO * const cs);
 
1294
  void set_value(const char *str, uint length, const CHARSET_INFO * const cs);
1295
1295
};
1296
1296
 
1297
1297