summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <mats@mysql.com>2006-06-02 15:47:06 +0200
committerunknown <mats@mysql.com>2006-06-02 15:47:06 +0200
commit08440d2876e42802ee7ef86be6085029f862893d (patch)
tree056cdb7dd2fd70256980e18b3f9393d51e0ffd0e /sql/handler.cc
parente9b5cafa8b2a95a0bf414922ac61335ea199c765 (diff)
downloadmariadb-git-08440d2876e42802ee7ef86be6085029f862893d.tar.gz
Bug#19995 (Extreneous table maps generated for statements that does not generate rows):
Comment change. sql/handler.cc: Comment change
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc23
1 files changed, 17 insertions, 6 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index dfa3789f6a0..e6f2f564d39 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -3199,16 +3199,27 @@ namespace {
}
}
-/**
+/*
Write table maps for all (manually or automatically) locked tables
to the binary log.
- This function will generate and write table maps for all tables
- that are locked by the thread 'thd'. Either manually locked
- (stored in THD::locked_tables) and automatically locked (stored in
- THD::lock) are considered.
+ SYNOPSIS
+ write_locked_table_maps()
+ thd Pointer to THD structure
+
+ DESCRIPTION
+ This function will generate and write table maps for all tables
+ that are locked by the thread 'thd'. Either manually locked
+ (stored in THD::locked_tables) and automatically locked (stored
+ in THD::lock) are considered.
- See THD::lock and THD::locked_tables for more information.
+ RETURN VALUE
+ 0 All OK
+ 1 Failed to write all table maps
+
+ SEE ALSO
+ THD::lock
+ THD::locked_tables
*/
static int
write_locked_table_maps(THD *thd)