summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2000-11-17 02:36:46 +0200
committermonty@narttu.mysql.fi <>2000-11-17 02:36:46 +0200
commit22415489f2bef07e1617cb93a5c3f3a8c332ce25 (patch)
tree09e51a2c4d96c3afa0d966f7469e46432fc6dc58 /mysys/thr_lock.c
parentca2cca8dce9fa5029f5a96d6b266e0fbdc4bc5f8 (diff)
downloadmariadb-git-22415489f2bef07e1617cb93a5c3f3a8c332ce25.tar.gz
Fixes for bugs in the usage of IO_CACHE
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index df360447e69..b9a9d5274ee 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -422,8 +422,8 @@ int thr_lock(THR_LOCK_DATA *data,enum thr_lock_type lock_type)
/* Request for READ lock */
if (lock->write.data)
{
- /* We can get allow a read lock even if there is already a write lock
- one the table in one the following cases:
+ /* We can allow a read lock even if there is already a write lock
+ on the table in one the following cases:
- This thread alread have a write lock on the table
- The write lock is TL_WRITE_ALLOW_READ or TL_WRITE_DELAYED
and the read lock is TL_READ_HIGH_PRIORITY or TL_READ