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
d9675a10
Commit
d9675a10
authored
Jul 24, 2017
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded code.
parent
eec6417e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
storage/innobase/trx/trx0sys.c
storage/innobase/trx/trx0sys.c
+0
-18
storage/xtradb/trx/trx0sys.c
storage/xtradb/trx/trx0sys.c
+0
-18
No files found.
storage/innobase/trx/trx0sys.c
View file @
d9675a10
...
...
@@ -801,24 +801,6 @@ trx_sys_print_mysql_binlog_offset(void)
#ifdef WITH_WSREP
#ifdef UNIV_DEBUG
static
long
long
trx_sys_cur_xid_seqno
=
-
1
;
static
unsigned
char
trx_sys_cur_xid_uuid
[
16
];
long
long
read_wsrep_xid_seqno
(
const
XID
*
xid
)
{
long
long
seqno
;
memcpy
(
&
seqno
,
xid
->
data
+
24
,
sizeof
(
long
long
));
return
seqno
;
}
void
read_wsrep_xid_uuid
(
const
XID
*
xid
,
unsigned
char
*
buf
)
{
memcpy
(
buf
,
xid
->
data
+
8
,
16
);
}
#endif
/* UNIV_DEBUG */
void
trx_sys_update_wsrep_checkpoint
(
const
XID
*
xid
,
/*!< in: transaction XID */
...
...
storage/xtradb/trx/trx0sys.c
View file @
d9675a10
...
...
@@ -966,24 +966,6 @@ trx_sys_print_mysql_binlog_offset(void)
#ifdef WITH_WSREP
#ifdef UNIV_DEBUG
static
long
long
trx_sys_cur_xid_seqno
=
-
1
;
static
unsigned
char
trx_sys_cur_xid_uuid
[
16
];
long
long
read_wsrep_xid_seqno
(
const
XID
*
xid
)
{
long
long
seqno
;
memcpy
(
&
seqno
,
xid
->
data
+
24
,
sizeof
(
long
long
));
return
seqno
;
}
void
read_wsrep_xid_uuid
(
const
XID
*
xid
,
unsigned
char
*
buf
)
{
memcpy
(
buf
,
xid
->
data
+
8
,
16
);
}
#endif
/* UNIV_DEBUG */
void
trx_sys_update_wsrep_checkpoint
(
const
XID
*
xid
,
/*!< in: transaction XID */
...
...
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