~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.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:
53
53
bool check_string_byte_length(LEX_STRING *str, const char *err_msg,
54
54
                              uint max_byte_length);
55
55
bool check_string_char_length(LEX_STRING *str, const char *err_msg,
56
 
                              uint max_char_length, CHARSET_INFO *cs,
 
56
                              uint max_char_length, const CHARSET_INFO * const cs,
57
57
                              bool no_error);
58
58
 
59
59
#endif /* DRIZZLE_SERVER_SQL_PARSE_H */