diff options
author | Konstantin Osipov <kostja@sun.com> | 2010-06-02 12:06:07 +0400 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2010-06-02 12:06:07 +0400 |
commit | 8867c0a52c69745f90bc24e11f5945d6eca6d88e (patch) | |
tree | 332f40106fc9eaf9b67e822cf15c2c7b3dc2dcec /sql/mdl.h | |
parent | 5fa66315e992e9c2743f43e8c583a9e97c0ae085 (diff) | |
download | mariadb-git-8867c0a52c69745f90bc24e11f5945d6eca6d88e.tar.gz |
Add comments to a few MDL deadlock-search related variables
and methods.
sql/mdl.cc:
Add comments.
sql/mdl.h:
Add a comment.
Diffstat (limited to 'sql/mdl.h')
-rw-r--r-- | sql/mdl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mdl.h b/sql/mdl.h index 2e296b73057..1a123d5baa9 100644 --- a/sql/mdl.h +++ b/sql/mdl.h @@ -322,6 +322,7 @@ public: DBUG_ASSERT(ticket == NULL); type= type_arg; } + /* A helper used to determine which lock request should be aborted. */ uint get_deadlock_weight() const; static MDL_request *create(MDL_key::enum_mdl_namespace mdl_namespace, |