~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.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:
406
406
                           uint user_host_len, int thread_id,
407
407
                           const char *command_type, uint command_type_len,
408
408
                           const char *sql_text, uint sql_text_len,
409
 
                           CHARSET_INFO *client_cs)= 0;
 
409
                           const CHARSET_INFO * const client_cs)= 0;
410
410
  virtual ~Log_event_handler() {}
411
411
};
412
412
 
437
437
                           uint user_host_len, int thread_id,
438
438
                           const char *command_type, uint command_type_len,
439
439
                           const char *sql_text, uint sql_text_len,
440
 
                           CHARSET_INFO *client_cs);
 
440
                           const CHARSET_INFO * const client_cs);
441
441
  void flush();
442
442
  void init_pthread_objects();
443
443
  MYSQL_QUERY_LOG *get_mysql_slow_log() { return &mysql_slow_log; }