Commit 08440d28 authored by unknown's avatar unknown

Bug#19995 (Extreneous table maps generated for statements that does not generate rows):

Comment change.


sql/handler.cc:
  Comment change
parent e9b5cafa
...@@ -3199,16 +3199,27 @@ namespace { ...@@ -3199,16 +3199,27 @@ namespace {
} }
} }
/** /*
Write table maps for all (manually or automatically) locked tables Write table maps for all (manually or automatically) locked tables
to the binary log. to the binary log.
SYNOPSIS
write_locked_table_maps()
thd Pointer to THD structure
DESCRIPTION
This function will generate and write table maps for all tables This function will generate and write table maps for all tables
that are locked by the thread 'thd'. Either manually locked that are locked by the thread 'thd'. Either manually locked
(stored in THD::locked_tables) and automatically locked (stored in (stored in THD::locked_tables) and automatically locked (stored
THD::lock) are considered. in THD::lock) are considered.
RETURN VALUE
0 All OK
1 Failed to write all table maps
See THD::lock and THD::locked_tables for more information. SEE ALSO
THD::lock
THD::locked_tables
*/ */
static int static int
write_locked_table_maps(THD *thd) write_locked_table_maps(THD *thd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment