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
adf56c8c
Commit
adf56c8c
authored
Aug 19, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
into hundin.mysql.fi:/home/jan/mysql-5.0
parents
2e804faa
bbd4f64a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
innobase/read/read0read.c
innobase/read/read0read.c
+5
-3
No files found.
innobase/read/read0read.c
View file @
adf56c8c
...
@@ -310,11 +310,13 @@ read_cursor_view_create_for_mysql(
...
@@ -310,11 +310,13 @@ read_cursor_view_create_for_mysql(
n
=
0
;
n
=
0
;
trx
=
UT_LIST_GET_FIRST
(
trx_sys
->
trx_list
);
trx
=
UT_LIST_GET_FIRST
(
trx_sys
->
trx_list
);
/* No active transaction should be visible, not even cr_trx !*/
/* No active transaction should be visible, except cr_trx.
This is quick fix for a bug 12456 and needs to be fixed when
semi-consistent high-granularity read view is implemented. */
while
(
trx
)
{
while
(
trx
)
{
if
(
trx
->
conc_state
==
TRX_ACTIVE
||
if
(
trx
!=
cr_trx
&&
(
trx
->
conc_state
==
TRX_ACTIVE
||
trx
->
conc_state
==
TRX_PREPARED
)
{
trx
->
conc_state
==
TRX_PREPARED
)
)
{
read_view_set_nth_trx_id
(
view
,
n
,
trx
->
id
);
read_view_set_nth_trx_id
(
view
,
n
,
trx
->
id
);
...
...
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