Skip to content

Commit 6880350

Browse files
committed
WL#8161: Locking service for read/write named locks
Fix some typos in doxygen comments noticed by Paul DuBois.
1 parent 813e449 commit 6880350

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/mysql/service_locking.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extern struct mysql_locking_service_st {
6161
@param lock_timeout Number of seconds to wait before giving up.
6262
6363
@retval 1 Acquisition failed, error has been reported.
64-
@retval 0 Acquisition sucessfull, all locks acquired.
64+
@retval 0 Acquisition successful, all locks acquired.
6565
6666
@note both lock_namespace and lock_names are limited to 64 characters max.
6767
Names are compared using binary comparison.
@@ -79,7 +79,7 @@ extern struct mysql_locking_service_st {
7979
@param lock_namespace Namespace of the locks to release.
8080
8181
@retval 1 Release failed, error has been reported.
82-
@retval 0 Release sucessfull, all locks acquired.
82+
@retval 0 Release successful, all locks acquired.
8383
*/
8484
int (*mysql_release_locks)(MYSQL_THD opaque_thd, const char* lock_namespace);
8585
} *mysql_locking_service;

sql/locking_service.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class THD;
3333
@param lock_timeout Number of seconds to wait before giving up.
3434
3535
@retval 1 Acquisition failed, error has been reported.
36-
@retval 0 Acquisition sucessfull, all locks acquired.
36+
@retval 0 Acquisition successful, all locks acquired.
3737
3838
@note both lock_namespace and lock_names are limited to 64 characters max.
3939
Names are compared using binary comparison.
@@ -51,7 +51,7 @@ int acquire_locking_service_locks(MYSQL_THD opaque_thd, const char* lock_namespa
5151
@param lock_namespace Namespace of the locks to release.
5252
5353
@retval 1 Release failed, error has been reported.
54-
@retval 0 Release sucessfull, all locks acquired.
54+
@retval 0 Release successful, all locks acquired.
5555
*/
5656
int release_locking_service_locks(MYSQL_THD opaque_thd, const char* lock_namespace);
5757

0 commit comments

Comments
 (0)