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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
91ba1345
Commit
91ba1345
authored
Jan 16, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btr0btr.h, btr0btr.c, row0purge.c:
Backport from 4.0: fix the BLOB hang if the index tree is of height 1
parent
7433ffe8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
innobase/btr/btr0btr.c
innobase/btr/btr0btr.c
+1
-1
innobase/include/btr0btr.h
innobase/include/btr0btr.h
+9
-0
innobase/row/row0purge.c
innobase/row/row0purge.c
+3
-1
No files found.
innobase/btr/btr0btr.c
View file @
91ba1345
...
...
@@ -116,7 +116,7 @@ btr_page_insert_fits(
/******************************************************************
Gets the root node of a tree and x-latches it. */
static
page_t
*
btr_root_get
(
/*=========*/
...
...
innobase/include/btr0btr.h
View file @
91ba1345
...
...
@@ -55,6 +55,15 @@ UNIQUE definition on secondary indexes when we decide if we can use the
insert buffer to speed up inserts */
#define BTR_IGNORE_SEC_UNIQUE 2048
/******************************************************************
Gets the root node of a tree and x-latches it. */
page_t
*
btr_root_get
(
/*=========*/
/* out: root page, x-latched */
dict_tree_t
*
tree
,
/* in: index tree */
mtr_t
*
mtr
);
/* in: mtr */
/******************************************************************
Gets a buffer page and declares its latching order level. */
UNIV_INLINE
...
...
innobase/row/row0purge.c
View file @
91ba1345
...
...
@@ -428,7 +428,9 @@ row_purge_upd_exist_or_extern(
index
=
dict_table_get_first_index
(
node
->
table
);
mtr_x_lock
(
dict_tree_get_lock
(
index
->
tree
),
&
mtr
);
btr_root_get
(
index
->
tree
,
&
mtr
);
/* We assume in purge of externally stored fields
that the space id of the undo log record is 0! */
...
...
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