Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
memcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
memcache
Commits
06e93485
Commit
06e93485
authored
Mar 31, 2015
by
Jeremy
Committed by
Jeremy
Mar 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2413663
by Jeremy: Notice: Undefined index in lock_release()
parent
30394615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
memcache-lock-code.inc
memcache-lock-code.inc
+1
-1
No files found.
memcache-lock-code.inc
View file @
06e93485
...
...
@@ -133,7 +133,7 @@ function lock_wait($name, $delay = 30) {
function
lock_release
(
$name
)
{
global
$locks
;
if
(
dmemcache_get
(
$name
,
'semaphore'
)
==
$locks
[
$name
]
)
{
if
(
isset
(
$locks
[
$name
])
&&
(
dmemcache_get
(
$name
,
'semaphore'
)
==
$locks
[
$name
])
)
{
dmemcache_delete
(
$name
,
'semaphore'
);
// We unset unconditionally since caller assumes lock is released anyway.
unset
(
$locks
[
$name
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment