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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ef82fd8c
Commit
ef82fd8c
authored
Dec 20, 2016
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-11353 - Identical logical conditions
Added test case.
parent
cbd7548a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/r/information_schema_part.result
mysql-test/r/information_schema_part.result
+8
-0
mysql-test/t/information_schema_part.test
mysql-test/t/information_schema_part.test
+7
-0
No files found.
mysql-test/r/information_schema_part.result
View file @
ef82fd8c
...
...
@@ -151,3 +151,11 @@ select create_options from information_schema.tables where table_schema="test";
create_options
partitioned
drop table t1;
#
# MDEV-11353 - Identical logical conditions
#
CREATE TABLE t1(a INT) CHECKSUM=1 SELECT 1;
SELECT CHECKSUM FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1';
CHECKSUM
3036305396
DROP TABLE t1;
mysql-test/t/information_schema_part.test
View file @
ef82fd8c
...
...
@@ -131,3 +131,10 @@ drop table if exists t1;
create
table
t1
(
f1
int
key
)
partition
by
key
(
f1
)
partitions
2
;
select
create_options
from
information_schema
.
tables
where
table_schema
=
"test"
;
drop
table
t1
;
--
echo
#
--
echo
# MDEV-11353 - Identical logical conditions
--
echo
#
CREATE
TABLE
t1
(
a
INT
)
CHECKSUM
=
1
SELECT
1
;
SELECT
CHECKSUM
FROM
INFORMATION_SCHEMA
.
PARTITIONS
WHERE
TABLE_SCHEMA
=
'test'
AND
TABLE_NAME
=
't1'
;
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