mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user