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
28d18c00
Commit
28d18c00
authored
Dec 01, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1-fix
into mysql.com:/home/jonas/src/mysql-4.1
parents
bfab8644
e4dbc32f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
mysql-test/r/ndb_charset.result
mysql-test/r/ndb_charset.result
+10
-0
mysql-test/t/ndb_charset.test
mysql-test/t/ndb_charset.test
+10
-0
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+3
-0
No files found.
mysql-test/r/ndb_charset.result
View file @
28d18c00
...
...
@@ -189,3 +189,13 @@ p a
5 aaa
6 AAA
drop table t1;
create table t1 (
a varchar(10) primary key
) engine=ndb;
insert into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
replace into t1 values ('jonas % ');
select * from t1;
a
jonas %
drop table t1;
mysql-test/t/ndb_charset.test
View file @
28d18c00
...
...
@@ -157,3 +157,13 @@ select * from t1 where a = 'AaA' order by p;
# 6
select
*
from
t1
where
a
=
'AAA'
order
by
p
;
drop
table
t1
;
# bug
create
table
t1
(
a
varchar
(
10
)
primary
key
)
engine
=
ndb
;
insert
into
t1
values
(
'jonas % '
);
replace
into
t1
values
(
'jonas % '
);
replace
into
t1
values
(
'jonas % '
);
select
*
from
t1
;
drop
table
t1
;
ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
View file @
28d18c00
...
...
@@ -706,7 +706,10 @@ Dbtup::checkUpdateOfPrimaryKey(Uint32* updateBuffer, Tablerec* const regTabPtr)
tOutBufIndex
=
0
;
tMaxRead
=
MAX_KEY_SIZE_IN_WORDS
;
bool
tmp
=
tXfrmFlag
;
tXfrmFlag
=
false
;
ndbrequire
((
this
->*
f
)(
&
keyReadBuffer
[
0
],
ahOut
,
attrDescriptor
,
attributeOffset
));
tXfrmFlag
=
tmp
;
ndbrequire
(
tOutBufIndex
==
ahOut
->
getDataSize
());
if
(
ahIn
.
getDataSize
()
!=
ahOut
->
getDataSize
())
{
ljam
();
...
...
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