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
12181f6f
Commit
12181f6f
authored
Apr 20, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug in processing transaction in query cache (inserted lost lines)
parent
fc61731b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sql/sql_cache.cc
sql/sql_cache.cc
+9
-0
No files found.
sql/sql_cache.cc
View file @
12181f6f
...
@@ -968,6 +968,15 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
...
@@ -968,6 +968,15 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
}
}
DBUG_PRINT
(
"qcache"
,
(
"Query have result 0x%lx"
,
(
ulong
)
query
));
DBUG_PRINT
(
"qcache"
,
(
"Query have result 0x%lx"
,
(
ulong
)
query
));
if
((
thd
->
options
&
(
OPTION_NOT_AUTOCOMMIT
|
OPTION_BEGIN
))
&&
(
query
->
tables_type
()
&
HA_CACHE_TBL_TRANSACT
))
{
DBUG_PRINT
(
"qcache"
,
(
"we are in transaction and have transaction tables in query"
));
BLOCK_UNLOCK_RD
(
query_block
);
goto
err_unlock
;
}
check_tables
=
query
->
tables_type
()
&
HA_CACHE_TBL_ASKTRANSACT
;
check_tables
=
query
->
tables_type
()
&
HA_CACHE_TBL_ASKTRANSACT
;
// Check access;
// Check access;
block_table
=
query_block
->
table
(
0
);
block_table
=
query_block
->
table
(
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