~ubuntu-branches/ubuntu/wily/mysql-5.6/wily

« back to all changes in this revision

Viewing changes to sql/log.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2015-04-16 20:07:10 UTC
  • mto: (1.3.9 vivid-proposed)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20150416200710-pcrsa022082zj46k
Tags: upstream-5.6.24
ImportĀ upstreamĀ versionĀ 5.6.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
 
1
/* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
   This program is free software; you can redistribute it and/or modify
4
4
   it under the terms of the GNU General Public License as published by
484
484
  void lock_exclusive() { mysql_rwlock_wrlock(&LOCK_logger); }
485
485
  void unlock() { mysql_rwlock_unlock(&LOCK_logger); }
486
486
  bool is_log_table_enabled(uint log_table_type);
487
 
  bool log_command(THD *thd, enum enum_server_command command);
 
487
  bool log_command(THD *thd, enum enum_server_command command,
 
488
                   const char *query_str, size_t query_length);
488
489
 
489
490
  /*
490
491
    We want to initialize all log mutexes as soon as possible,