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
cc353606
Commit
cc353606
authored
Jul 20, 2001
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0sel.c Remove a possible cause of the Peter Zaitsev hang
parent
20d0a090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
innobase/row/row0sel.c
innobase/row/row0sel.c
+7
-4
No files found.
innobase/row/row0sel.c
View file @
cc353606
...
@@ -2537,10 +2537,7 @@ row_search_for_mysql(
...
@@ -2537,10 +2537,7 @@ row_search_for_mysql(
unique_search_from_clust_index
=
TRUE
;
unique_search_from_clust_index
=
TRUE
;
/* Disable this optimization (hence FALSE below) until
if
(
trx
->
mysql_n_tables_locked
==
0
the hang of Peter Zaitsev has been tracked down */
if
(
FALSE
&&
trx
->
mysql_n_tables_locked
==
0
&&
!
prebuilt
->
sql_stat_start
)
{
&&
!
prebuilt
->
sql_stat_start
)
{
/* This is a SELECT query done as a consistent read,
/* This is a SELECT query done as a consistent read,
...
@@ -2576,6 +2573,12 @@ row_search_for_mysql(
...
@@ -2576,6 +2573,12 @@ row_search_for_mysql(
return
(
DB_RECORD_NOT_FOUND
);
return
(
DB_RECORD_NOT_FOUND
);
}
}
/* Commit the mini-transaction since it can
hold latches */
mtr_commit
(
&
mtr
);
mtr_start
(
&
mtr
);
}
}
}
}
...
...
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