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
61f02902
Commit
61f02902
authored
Mar 08, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trx_sig_struct: Remove state. It is always assigned to TRX_SIG_WAITING
and never tested.
parent
8fadfedd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
include/trx0trx.h
include/trx0trx.h
+0
-5
trx/trx0trx.c
trx/trx0trx.c
+0
-1
No files found.
include/trx0trx.h
View file @
61f02902
...
...
@@ -375,8 +375,6 @@ trx_is_interrupted(
/* Signal to a transaction */
struct
trx_sig_struct
{
ulint
type
;
/* signal type */
ulint
state
;
/* TRX_SIG_WAITING or
TRX_SIG_BEING_HANDLED */
ulint
sender
;
/* TRX_SIG_SELF or
TRX_SIG_OTHER_SESS */
que_thr_t
*
receiver
;
/* non-NULL if the sender of the signal
...
...
@@ -742,9 +740,6 @@ struct trx_struct{
session */
#define TRX_SIG_OTHER_SESS 2
/* sent by another session (which
must hold rights to this) */
/* Signal states */
#define TRX_SIG_WAITING 1
#define TRX_SIG_BEING_HANDLED 2
/* Commit command node in a query graph */
struct
commit_node_struct
{
...
...
trx/trx0trx.c
View file @
61f02902
...
...
@@ -1262,7 +1262,6 @@ trx_sig_send(
UT_LIST_ADD_LAST
(
signals
,
trx
->
signals
,
sig
);
sig
->
type
=
type
;
sig
->
state
=
TRX_SIG_WAITING
;
sig
->
sender
=
sender
;
sig
->
receiver
=
receiver_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