Commit 118d772c authored by Konstantin Osipov's avatar Konstantin Osipov

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.
parent 45a5d797
......@@ -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
......
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