diff options
author | Konstantin Osipov <kostja@sun.com> | 2009-12-03 14:32:29 +0300 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2009-12-03 14:32:29 +0300 |
commit | eef538ab962c444d9f4728e046fcf34638104c6d (patch) | |
tree | 479ff736108d4ee37cdfe937bb541d8f61af43c0 /sql | |
parent | 31baae3f9c7bf76f0f1e0fdf8f81932d8cf7a91f (diff) | |
download | mariadb-git-eef538ab962c444d9f4728e046fcf34638104c6d.tar.gz |
Backport of (WL#3726)
------------------------------------------------------------
revno: 2630.13.4
committer: Dmitry Lenev <dlenev@mysql.com>
branch nick: mysql-6.0-runtime
timestamp: Mon 2008-07-07 19:51:20 +0400
message:
Fixed outdated comment describing mdl_init_lock() function.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/mdl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc index 0a663ad2e11..f28778a1a83 100644 --- a/sql/mdl.cc +++ b/sql/mdl.cc @@ -245,8 +245,9 @@ void mdl_context_merge(MDL_CONTEXT *dst, MDL_CONTEXT *src) @param lock_data Pointer to an MDL_LOCK_DATA object to initialize @param key_buff Pointer to the buffer for key for the lock request - (should be at least strlen(db) + strlen(name) - + 2 bytes, or, if the lengths are not known, MAX_DBNAME_LENGTH) + (should be at least 4+ strlen(db) + 1 + strlen(name) + + 1 bytes, or, if the lengths are not known, + MAX_MDLKEY_LENGTH) @param type Id of type of object to be locked @param db Name of database to which the object belongs @param name Name of of the object |