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
3c4597e1
Commit
3c4597e1
authored
Jun 17, 2004
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
que0que.c, srv0que.c:
Put asserts that make sure srv_que_task_enqueue() is never called under MySQL
parent
0e3c22ea
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
innobase/que/que0que.c
innobase/que/que0que.c
+4
-0
innobase/srv/srv0que.c
innobase/srv/srv0que.c
+2
-0
No files found.
innobase/que/que0que.c
View file @
3c4597e1
...
...
@@ -214,6 +214,7 @@ que_thr_end_wait(
if
(
next_thr
&&
*
next_thr
==
NULL
)
{
*
next_thr
=
thr
;
}
else
{
ut_a
(
0
);
srv_que_task_enqueue_low
(
thr
);
}
}
...
...
@@ -394,6 +395,7 @@ que_fork_error_handle(
que_thr_move_to_run_state
(
thr
);
ut_a
(
0
);
srv_que_task_enqueue_low
(
thr
);
}
...
...
@@ -804,6 +806,7 @@ que_thr_dec_refer_count(
if
(
next_thr
&&
*
next_thr
==
NULL
)
{
*
next_thr
=
thr
;
}
else
{
ut_a
(
0
);
srv_que_task_enqueue_low
(
thr
);
}
...
...
@@ -1257,6 +1260,7 @@ que_run_threads(
loop_count
++
;
if
(
next_thr
!=
thr
)
{
ut_a
(
next_thr
==
NULL
);
que_thr_dec_refer_count
(
thr
,
&
next_thr
);
if
(
next_thr
==
NULL
)
{
...
...
innobase/srv/srv0que.c
View file @
3c4597e1
...
...
@@ -103,6 +103,8 @@ srv_que_task_enqueue(
{
ut_ad
(
thr
);
ut_a
(
0
);
/* Under MySQL this is never called */
mutex_enter
(
&
kernel_mutex
);
srv_que_task_enqueue_low
(
thr
);
...
...
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