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
c73cd2a5
Commit
c73cd2a5
authored
May 27, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/#if/#ifdef
parent
7487f6b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/rpl_record.cc
sql/rpl_record.cc
+6
-6
No files found.
sql/rpl_record.cc
View file @
c73cd2a5
...
@@ -308,10 +308,10 @@ unpack_row(Relay_log_info const *rli,
...
@@ -308,10 +308,10 @@ unpack_row(Relay_log_info const *rli,
#ifndef DBUG_OFF
#ifndef DBUG_OFF
uchar
const
*
const
old_pack_ptr
=
pack_ptr
;
uchar
const
*
const
old_pack_ptr
=
pack_ptr
;
#else
#else
#if WITH_WSREP
#if
def
WITH_WSREP
uchar
const
*
const
old_pack_ptr
=
pack_ptr
;
uchar
const
*
const
old_pack_ptr
=
pack_ptr
;
#endif
#endif
/* WITH_WSREP */
#endif
#endif
/* !DBUG_OFF */
pack_ptr
=
f
->
unpack
(
f
->
ptr
,
pack_ptr
,
row_end
,
metadata
);
pack_ptr
=
f
->
unpack
(
f
->
ptr
,
pack_ptr
,
row_end
,
metadata
);
DBUG_PRINT
(
"debug"
,
(
"field: %s; metadata: 0x%x;"
DBUG_PRINT
(
"debug"
,
(
"field: %s; metadata: 0x%x;"
" pack_ptr: 0x%lx; pack_ptr': 0x%lx; bytes: %d"
,
" pack_ptr: 0x%lx; pack_ptr': 0x%lx; bytes: %d"
,
...
@@ -320,7 +320,7 @@ unpack_row(Relay_log_info const *rli,
...
@@ -320,7 +320,7 @@ unpack_row(Relay_log_info const *rli,
(
int
)
(
pack_ptr
-
old_pack_ptr
)));
(
int
)
(
pack_ptr
-
old_pack_ptr
)));
if
(
!
pack_ptr
)
if
(
!
pack_ptr
)
{
{
#if WITH_WSREP
#if
def
WITH_WSREP
/*
/*
Debug message to troubleshoot bug
Debug message to troubleshoot bug
https://mariadb.atlassian.net/browse/MDEV-4404
https://mariadb.atlassian.net/browse/MDEV-4404
...
@@ -332,7 +332,7 @@ unpack_row(Relay_log_info const *rli,
...
@@ -332,7 +332,7 @@ unpack_row(Relay_log_info const *rli,
(
ulong
)
old_pack_ptr
,
conv_table
,
conv_field
,
(
ulong
)
old_pack_ptr
,
conv_table
,
conv_field
,
(
table_found
)
?
"found"
:
"not found"
,
(
ulong
)
row_end
(
table_found
)
?
"found"
:
"not found"
,
(
ulong
)
row_end
);
);
#endif
#endif
/* WITH_WSREP */
rli
->
report
(
ERROR_LEVEL
,
ER_SLAVE_CORRUPT_EVENT
,
rli
->
report
(
ERROR_LEVEL
,
ER_SLAVE_CORRUPT_EVENT
,
"Could not read field '%s' of table '%s.%s'"
,
"Could not read field '%s' of table '%s.%s'"
,
...
...
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