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
0aba4871
Commit
0aba4871
authored
Apr 20, 2010
by
Marko Makela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btr_cur_optimistic_insert(): Remove unused variable "heap".
parent
bac9559e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
storage/innodb_plugin/btr/btr0cur.c
storage/innodb_plugin/btr/btr0cur.c
+1
-14
No files found.
storage/innodb_plugin/btr/btr0cur.c
View file @
0aba4871
...
...
@@ -1064,7 +1064,6 @@ btr_cur_optimistic_insert(
ibool
inherit
;
ulint
zip_size
;
ulint
rec_size
;
mem_heap_t
*
heap
=
NULL
;
ulint
err
;
*
big_rec
=
NULL
;
...
...
@@ -1144,10 +1143,6 @@ btr_cur_optimistic_insert(
index
,
entry
,
big_rec_vec
);
}
if
(
heap
)
{
mem_heap_free
(
heap
);
}
return
(
DB_TOO_BIG_RECORD
);
}
}
...
...
@@ -1170,10 +1165,6 @@ fail_err:
dtuple_convert_back_big_rec
(
index
,
entry
,
big_rec_vec
);
}
if
(
UNIV_LIKELY_NULL
(
heap
))
{
mem_heap_free
(
heap
);
}
return
(
err
);
}
...
...
@@ -1244,10 +1235,6 @@ fail_err:
}
}
if
(
UNIV_LIKELY_NULL
(
heap
))
{
mem_heap_free
(
heap
);
}
#ifdef BTR_CUR_HASH_ADAPT
if
(
!
reorg
&&
leaf
&&
(
cursor
->
flag
==
BTR_CUR_HASH
))
{
btr_search_update_hash_node_on_insert
(
cursor
);
...
...
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