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
93f766dd
Commit
93f766dd
authored
Jul 28, 2007
by
cbell/Chuck@mysql_cab_desk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3228 (NDB) : RBR using different table defs on slave/master
Patch for PB testing errors.
parent
06df6fc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
sql/rpl_utility.h
sql/rpl_utility.h
+8
-2
No files found.
sql/rpl_utility.h
View file @
93f766dd
...
@@ -110,13 +110,19 @@ public:
...
@@ -110,13 +110,19 @@ public:
break
;
break
;
}
}
case
MYSQL_TYPE_BIT
:
case
MYSQL_TYPE_BIT
:
{
short
int
x
=
field_metadata
[
index
++
];
x
=
x
+
(
field_metadata
[
index
++
]
<<
8U
);
m_field_metadata
[
i
]
=
x
;
break
;
}
case
MYSQL_TYPE_VARCHAR
:
case
MYSQL_TYPE_VARCHAR
:
{
{
/*
/*
These types store two bytes.
These types store two bytes.
*/
*/
short
int
*
x
=
(
short
int
*
)
&
field_metadata
[
index
];
uint16
*
x
=
(
uint16
*
)
&
field_metadata
[
index
];
m_field_metadata
[
i
]
=
sint2korr
(
x
)
;
m_field_metadata
[
i
]
=
*
x
;
index
=
index
+
sizeof
(
short
int
);
index
=
index
+
sizeof
(
short
int
);
break
;
break
;
}
}
...
...
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