Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1ca9d649
Commit
1ca9d649
authored
Jan 24, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove the entry from the list, before freeing
parent
79240013
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mysys/mf_keycaches.c
mysys/mf_keycaches.c
+4
-0
No files found.
mysys/mf_keycaches.c
View file @
1ca9d649
...
...
@@ -275,7 +275,11 @@ static void safe_hash_change(SAFE_HASH *hash, byte *old_data, byte *new_data)
if
(
entry
->
data
==
old_data
)
{
if
(
new_data
==
hash
->
default_value
)
{
if
((
*
entry
->
prev
=
entry
->
next
))
entry
->
next
->
prev
=
entry
->
prev
;
hash_delete
(
&
hash
->
hash
,
(
byte
*
)
entry
);
}
else
entry
->
data
=
new_data
;
}
...
...
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