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
fa5b997a
Commit
fa5b997a
authored
Jun 21, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: que_thr_dec_refer_count(): Cleanup. Remove unused variable sess.
parent
ac7cba97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
que/que0que.c
que/que0que.c
+9
-11
No files found.
que/que0que.c
View file @
fa5b997a
...
...
@@ -805,13 +805,11 @@ que_thr_dec_refer_count(
{
que_fork_t
*
fork
;
trx_t
*
trx
;
sess_t
*
sess
;
ulint
fork_type
;
ibool
stopped
;
fork
=
thr
->
common
.
parent
;
trx
=
thr_get_trx
(
thr
);
sess
=
trx
->
sess
;
mutex_enter
(
&
kernel_mutex
);
...
...
@@ -838,7 +836,7 @@ que_thr_dec_refer_count(
*
next_thr
=
thr
;
}
else
{
ut_
a
(
0
)
;
ut_
error
;
srv_que_task_enqueue_low
(
thr
);
}
...
...
@@ -869,7 +867,8 @@ que_thr_dec_refer_count(
if
(
que_fork_all_thrs_in_state
(
fork
,
QUE_THR_COMPLETED
))
{
if
(
fork_type
==
QUE_FORK_ROLLBACK
)
{
switch
(
fork_type
)
{
case
QUE_FORK_ROLLBACK
:
/* This is really the undo graph used in rollback,
no roll_node in this graph */
...
...
@@ -877,17 +876,16 @@ que_thr_dec_refer_count(
ut_ad
(
trx
->
handling_signals
==
TRUE
);
trx_finish_rollback_off_kernel
(
fork
,
trx
,
next_thr
);
break
;
}
else
if
(
fork_type
==
QUE_FORK_PURGE
)
{
/* Do nothing */
}
else
if
(
fork_type
==
QUE_FORK_RECOVERY
)
{
case
QUE_FORK_PURGE
:
case
QUE_FORK_RECOVERY
:
case
QUE_FORK_MYSQL_INTERFACE
:
/* Do nothing */
}
else
if
(
fork_type
==
QUE_FORK_MYSQL_INTERFACE
)
{
break
;
/* Do nothing */
}
else
{
default:
ut_error
;
/* not used in MySQL */
}
}
...
...
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