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
228a63d3
Commit
228a63d3
authored
Jan 01, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - post merge fixes
parent
fe8f4ab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+5
-1
No files found.
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
View file @
228a63d3
...
...
@@ -807,13 +807,17 @@ Dbtup::updateFixedSizeTHManyWordNotNULL(Uint32* inBuffer,
if
(
charsetFlag
)
{
ljam
();
Tablerec
*
regTabPtr
=
tabptr
.
p
;
Uint32
typeId
=
AttributeDescriptor
::
getType
(
attrDescriptor
);
Uint32
bytes
=
AttributeDescriptor
::
getSizeInBytes
(
attrDescriptor
);
Uint32
i
=
AttributeOffset
::
getCharsetPos
(
attrDes2
);
ndbrequire
(
i
<
regTabPtr
->
noOfCharsets
);
// not const in MySQL
CHARSET_INFO
*
cs
=
regTabPtr
->
charsetArray
[
i
];
const
char
*
ssrc
=
(
const
char
*
)
&
inBuffer
[
tInBufIndex
+
1
];
if
((
*
cs
->
cset
->
well_formed_len
)(
cs
,
ssrc
,
ssrc
+
bytes
,
ZNIL
)
!=
bytes
)
{
// fast fix bug#7340
if
(
typeId
!=
NDB_TYPE_TEXT
&&
(
*
cs
->
cset
->
well_formed_len
)(
cs
,
ssrc
,
ssrc
+
bytes
,
ZNIL
)
!=
bytes
)
{
ljam
();
terrorCode
=
ZINVALID_CHAR_FORMAT
;
return
false
;
...
...
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