diff options
author | anozdrin/alik@alik. <> | 2006-11-03 14:00:35 +0300 |
---|---|---|
committer | anozdrin/alik@alik. <> | 2006-11-03 14:00:35 +0300 |
commit | 18fb4abff436bc52ddee9bc3d8c0f00a3df7d68e (patch) | |
tree | 39242855b0d00f1133fb65da6d14f5ee389394f4 /sql/handler.cc | |
parent | 959e90676848a34ee7b6d66653a1d66c8a351c13 (diff) | |
parent | 69676574665d5bc86ecf260bb3398f5b01696f43 (diff) | |
download | mariadb-git-18fb4abff436bc52ddee9bc3d8c0f00a3df7d68e.tar.gz |
Merge alik.:/mnt/raid/alik/MySQL/devel/5.1-monty
into alik.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 288499a46ef..5dedc26969b 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -1483,8 +1483,9 @@ bool handler::check_if_log_table_locking_is_allowed(uint sql_command, { /* Deny locking of the log tables, which is incompatible with - concurrent insert. Unless called from a logger THD: - general_log_thd or slow_log_thd. + concurrent insert. The routine is not called if the table is + being locked from a logger THD (general_log_thd or slow_log_thd) + or from a privileged thread (see log.cc for details) */ if (table->s->log_table && sql_command != SQLCOM_TRUNCATE && |