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
4eb3ccf5
Commit
4eb3ccf5
authored
May 31, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge polly.local:/home/kaa/src/maint/bug27643/my51-bug27643
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
parents
052d1bea
d51f0e05
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/ctype_ucs2_def.result
mysql-test/r/ctype_ucs2_def.result
+1
-1
mysql-test/r/heap_hash.result
mysql-test/r/heap_hash.result
+2
-2
mysql-test/t/ctype_ucs2_def.test
mysql-test/t/ctype_ucs2_def.test
+1
-1
mysql-test/t/heap_hash.test
mysql-test/t/heap_hash.test
+2
-2
No files found.
mysql-test/r/ctype_ucs2_def.result
View file @
4eb3ccf5
...
...
@@ -12,6 +12,6 @@ col2 VARCHAR(32) CHARACTER SET ucs2 COLLATE ucs2_bin NOT NULL,
UNIQUE KEY key1 USING HASH (col1, col2)) ENGINE=MEMORY;
INSERT INTO t1 VALUES('A', 'A'), ('B', 'B'), ('C', 'C');
INSERT INTO t1 VALUES('A ', 'A ');
ERROR 23000: Duplicate entry '' for key
1
ERROR 23000: Duplicate entry '' for key
'key1'
DROP TABLE t1;
End of 5.0 tests
mysql-test/r/heap_hash.result
View file @
4eb3ccf5
...
...
@@ -372,13 +372,13 @@ col2 VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
UNIQUE KEY key1 USING HASH (col1, col2)) ENGINE=MEMORY;
INSERT INTO t1 VALUES('A', 'A');
INSERT INTO t1 VALUES('A ', 'A ');
ERROR 23000: Duplicate entry 'A -A ' for key
1
ERROR 23000: Duplicate entry 'A -A ' for key
'key1'
DROP TABLE t1;
CREATE TABLE t1(col1 VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
col2 VARCHAR(32) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
UNIQUE KEY key1 USING HASH (col1, col2)) ENGINE=MEMORY;
INSERT INTO t1 VALUES('A', 'A');
INSERT INTO t1 VALUES('A ', 'A ');
ERROR 23000: Duplicate entry 'A -A ' for key
1
ERROR 23000: Duplicate entry 'A -A ' for key
'key1'
DROP TABLE t1;
End of 5.0 tests
mysql-test/t/ctype_ucs2_def.test
View file @
4eb3ccf5
...
...
@@ -25,7 +25,7 @@ CREATE TABLE t1(col1 VARCHAR(32) CHARACTER SET ucs2 COLLATE ucs2_bin NOT NULL,
col2
VARCHAR
(
32
)
CHARACTER
SET
ucs2
COLLATE
ucs2_bin
NOT
NULL
,
UNIQUE
KEY
key1
USING
HASH
(
col1
,
col2
))
ENGINE
=
MEMORY
;
INSERT
INTO
t1
VALUES
(
'A'
,
'A'
),
(
'B'
,
'B'
),
(
'C'
,
'C'
);
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
_WITH_KEY_NAME
INSERT
INTO
t1
VALUES
(
'A '
,
'A '
);
DROP
TABLE
t1
;
...
...
mysql-test/t/heap_hash.test
View file @
4eb3ccf5
...
...
@@ -272,14 +272,14 @@ CREATE TABLE t1(col1 VARCHAR(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
col2
VARCHAR
(
32
)
CHARACTER
SET
utf8
COLLATE
utf8_bin
NOT
NULL
,
UNIQUE
KEY
key1
USING
HASH
(
col1
,
col2
))
ENGINE
=
MEMORY
;
INSERT
INTO
t1
VALUES
(
'A'
,
'A'
);
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
_WITH_KEY_NAME
INSERT
INTO
t1
VALUES
(
'A '
,
'A '
);
DROP
TABLE
t1
;
CREATE
TABLE
t1
(
col1
VARCHAR
(
32
)
CHARACTER
SET
latin1
COLLATE
latin1_bin
NOT
NULL
,
col2
VARCHAR
(
32
)
CHARACTER
SET
latin1
COLLATE
latin1_bin
NOT
NULL
,
UNIQUE
KEY
key1
USING
HASH
(
col1
,
col2
))
ENGINE
=
MEMORY
;
INSERT
INTO
t1
VALUES
(
'A'
,
'A'
);
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
_WITH_KEY_NAME
INSERT
INTO
t1
VALUES
(
'A '
,
'A '
);
DROP
TABLE
t1
;
...
...
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