summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-02-18 00:03:37 +0200
committermonty@donna.mysql.com <>2001-02-18 00:03:37 +0200
commitd218ebcc51f0016801fa61baea01190ca77062fd (patch)
treee430180603a3dd86bed056e15a90ce368911ca5a /include
parentece13efde985355d0eb1df8875eabe3fd75cf007 (diff)
downloadmariadb-git-d218ebcc51f0016801fa61baea01190ca77062fd.tar.gz
Added locks needed for Innobase
Fixed mutex problem when doing automatic repair of MyISAM tables
Diffstat (limited to 'include')
-rw-r--r--include/thr_lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index ffcad4a4d11..42bcd9bcaba 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -32,6 +32,7 @@ extern ulong locks_immediate,locks_waited ;
enum thr_lock_type { TL_IGNORE=-1,
TL_UNLOCK, /* UNLOCK ANY LOCK */
TL_READ, /* Read lock */
+ TL_READ_WITH_SHARED_LOCKS,
/* High prior. than TL_WRITE. Allow concurrent insert */
TL_READ_HIGH_PRIORITY,
/* READ, Don't allow concurrent insert */