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
eb22615e
Commit
eb22615e
authored
Jan 16, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lock0lock.c:
Fix a bug in the query cache algorithm for the AUTOCOMMIT=0 case
parent
4f9d8270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+2
-1
No files found.
innobase/lock/lock0lock.c
View file @
eb22615e
...
@@ -3602,7 +3602,8 @@ lock_release_off_kernel(
...
@@ -3602,7 +3602,8 @@ lock_release_off_kernel(
ut_ad
(
lock_get_type
(
lock
)
==
LOCK_TABLE
);
ut_ad
(
lock_get_type
(
lock
)
==
LOCK_TABLE
);
if
(
lock_get_mode
(
lock
)
!=
LOCK_IS
if
(
lock_get_mode
(
lock
)
!=
LOCK_IS
&&
(
trx
->
insert_undo
||
trx
->
update_undo
))
{
&&
0
!=
ut_dulint_cmp
(
trx
->
undo_no
,
ut_dulint_zero
))
{
/* The trx may have modified the table.
/* The trx may have modified the table.
We block the use of the MySQL query cache
We block the use of the MySQL query cache
...
...
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