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
0d7fcf23
Commit
0d7fcf23
authored
Jun 15, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#598247: partition.test produces valgrind errors in 5.3-based branches
- Testcase
parent
b0f423c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
mysql-test/r/partition.result
mysql-test/r/partition.result
+18
-0
mysql-test/t/partition.test
mysql-test/t/partition.test
+19
-0
No files found.
mysql-test/r/partition.result
View file @
0d7fcf23
...
...
@@ -2178,3 +2178,21 @@ INSERT INTO t1 VALUES(0);
DROP TABLE t1;
SET GLOBAL myisam_use_mmap=default;
End of 5.1 tests
#
# BUG#598247: partition.test produces valgrind errors in 5.3-based branches
#
CREATE TABLE t1 (
a INT DEFAULT NULL,
b DOUBLE DEFAULT NULL,
c INT DEFAULT NULL,
KEY idx2(b,a)
) engine=myisam PARTITION BY HASH(c) PARTITIONS 3;
INSERT INTO t1 VALUES (6,8,9);
INSERT INTO t1 VALUES (6,8,10);
SELECT 1 FROM t1 JOIN t1 AS t2 USING (a);
1
1
1
1
1
drop table t1;
mysql-test/t/partition.test
View file @
0d7fcf23
...
...
@@ -2192,3 +2192,22 @@ DROP TABLE t1;
SET
GLOBAL
myisam_use_mmap
=
default
;
--
echo
End
of
5.1
tests
--
echo
#
--
echo
# BUG#598247: partition.test produces valgrind errors in 5.3-based branches
--
echo
#
CREATE
TABLE
t1
(
a
INT
DEFAULT
NULL
,
b
DOUBLE
DEFAULT
NULL
,
c
INT
DEFAULT
NULL
,
KEY
idx2
(
b
,
a
)
)
engine
=
myisam
PARTITION
BY
HASH
(
c
)
PARTITIONS
3
;
INSERT
INTO
t1
VALUES
(
6
,
8
,
9
);
INSERT
INTO
t1
VALUES
(
6
,
8
,
10
);
SELECT
1
FROM
t1
JOIN
t1
AS
t2
USING
(
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