summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@kekalainen.net>2020-06-14 14:49:45 +0300
committerDaniel Black <daniel@mariadb.org>2020-07-30 10:36:39 +1000
commitab48901d54f1d9002e786e0a01c6d26751e2cc32 (patch)
tree65ae837b2d554b14d61aa4b5fa73487f6e61ac32 /sql/mdl.cc
parent05fa4558e0e82302ece981deabce764491464eb2 (diff)
downloadmariadb-git-ab48901d54f1d9002e786e0a01c6d26751e2cc32.tar.gz
Fix spelling errors
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc
index 6cdea8c3ebd..4772dc017f9 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -1035,7 +1035,7 @@ void MDL_ticket::destroy(MDL_ticket *ticket)
/**
Return the 'weight' of this ticket for the
- victim selection algorithm. Requests with
+ victim selection algorithm. Requests with
lower weight are preferred to requests
with higher weight when choosing a victim.
*/
@@ -2179,7 +2179,7 @@ MDL_context::clone_ticket(MDL_request *mdl_request)
to wait for another thread which is not ready to commit.
This is always an error, as the upper level of parallel replication
should not allow a scheduling of a conflicting DDL until all earlier
- transactions has commited.
+ transactions have been committed.
This function is only called for a slave using parallel replication
and trying to get an exclusive lock for the table.