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
8055a7b3
Commit
8055a7b3
authored
Mar 05, 2007
by
sunny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Bug# 21409. At low transaction isolation levels we let each
consistent read set its own snapshot
parent
ce14c904
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
handler/ha_innodb.cc
handler/ha_innodb.cc
+10
-0
No files found.
handler/ha_innodb.cc
View file @
8055a7b3
...
@@ -6856,6 +6856,16 @@ ha_innobase::store_lock(
...
@@ -6856,6 +6856,16 @@ ha_innobase::store_lock(
trx
->
isolation_level
=
innobase_map_isolation_level
(
trx
->
isolation_level
=
innobase_map_isolation_level
(
(
enum_tx_isolation
)
(
enum_tx_isolation
)
thd
->
variables
.
tx_isolation
);
thd
->
variables
.
tx_isolation
);
if
(
trx
->
isolation_level
<=
TRX_ISO_READ_COMMITTED
&&
trx
->
global_read_view
)
{
/* At low transaction isolation levels we let
each consistent read set its own snapshot */
read_view_close_for_mysql
(
trx
);
}
}
}
const
bool
in_lock_tables
=
thd_in_lock_tables
(
thd
);
const
bool
in_lock_tables
=
thd_in_lock_tables
(
thd
);
...
...
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