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
abc47248
Commit
abc47248
authored
Oct 19, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: query cache was using incorrect wait flag
parent
d6bf44cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_cache.cc
sql/sql_cache.cc
+2
-2
No files found.
sql/sql_cache.cc
View file @
abc47248
...
@@ -1760,9 +1760,9 @@ Query_cache::send_result_to_client(THD *thd, char *org_sql, uint query_length)
...
@@ -1760,9 +1760,9 @@ Query_cache::send_result_to_client(THD *thd, char *org_sql, uint query_length)
disabled or if a full cache flush is in progress, the attempt to
disabled or if a full cache flush is in progress, the attempt to
get the lock is aborted.
get the lock is aborted.
The
WAI
T parameter indicate that the lock is allowed to timeout.
The
TIMEOU
T parameter indicate that the lock is allowed to timeout.
*/
*/
if
(
try_lock
(
thd
,
Query_cache
::
WAI
T
))
if
(
try_lock
(
thd
,
Query_cache
::
TIMEOU
T
))
goto
err
;
goto
err
;
if
(
query_cache_size
==
0
)
if
(
query_cache_size
==
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