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
da78e952
Commit
da78e952
authored
Aug 01, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.3 into 10.4
parents
4db4b773
976abe64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
mysql-test/main/information_schema.result
mysql-test/main/information_schema.result
+5
-5
mysql-test/main/information_schema.test
mysql-test/main/information_schema.test
+5
-0
No files found.
mysql-test/main/information_schema.result
View file @
da78e952
...
...
@@ -2233,8 +2233,8 @@ join information_schema.CHECK_CONSTRAINTS cc
using (CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, TABLE_NAME, CONSTRAINT_NAME)
;
TABLE_SCHEMA TABLE_NAME CONSTRAINT_NAME CHECK_CLAUSE
test t a `i` > 0
mysql global_priv Priv json_valid(`Priv`)
test t a `i` > 0
select
tc.TABLE_SCHEMA,
tc.TABLE_NAME,
...
...
@@ -2245,8 +2245,8 @@ join information_schema.TABLE_CONSTRAINTS tc
using (CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, TABLE_NAME, CONSTRAINT_NAME)
;
TABLE_SCHEMA TABLE_NAME CONSTRAINT_NAME CHECK_CLAUSE
test t a `i` > 0
mysql global_priv Priv json_valid(`Priv`)
test t a `i` > 0
select
tc.TABLE_SCHEMA,
tc.TABLE_NAME,
...
...
@@ -2256,8 +2256,8 @@ from information_schema.TABLE_CONSTRAINTS tc
NATURAL join information_schema.CHECK_CONSTRAINTS cc
;
TABLE_SCHEMA TABLE_NAME CONSTRAINT_NAME CHECK_CLAUSE
test t a `i` > 0
mysql global_priv Priv json_valid(`Priv`)
test t a `i` > 0
select
tc.TABLE_SCHEMA,
tc.TABLE_NAME,
...
...
@@ -2267,8 +2267,8 @@ from information_schema.CHECK_CONSTRAINTS cc
NATURAL join information_schema.TABLE_CONSTRAINTS tc
;
TABLE_SCHEMA TABLE_NAME CONSTRAINT_NAME CHECK_CLAUSE
test t a `i` > 0
mysql global_priv Priv json_valid(`Priv`)
test t a `i` > 0
select
tc.TABLE_SCHEMA,
tc.TABLE_NAME,
...
...
@@ -2281,8 +2281,8 @@ join information_schema.CHECK_CONSTRAINTS cc
using (CONSTRAINT_CATALOG, CONSTRAINT_SCHEMA, TABLE_NAME, CONSTRAINT_NAME)
;
TABLE_SCHEMA TABLE_NAME CONSTRAINT_NAME CHECK_CLAUSE CONSTRAINT_CATALOG CONSTRAINT_SCHEMA
test t a `i` > 0 def test
mysql global_priv Priv json_valid(`Priv`) def mysql
test t a `i` > 0 def test
drop table t;
#
# End of 10.3 tests
...
...
mysql-test/main/information_schema.test
View file @
da78e952
...
...
@@ -1933,6 +1933,7 @@ SELECT SCHEMA_NAME from information_schema.schemata where schema_name=REPEAT('a'
create
table
t
(
i
int
,
constraint
a
check
(
i
>
0
));
--
disable_warnings
--
sorted_result
select
tc
.
TABLE_SCHEMA
,
tc
.
TABLE_NAME
,
...
...
@@ -1942,6 +1943,7 @@ from information_schema.TABLE_CONSTRAINTS tc
join
information_schema
.
CHECK_CONSTRAINTS
cc
using
(
CONSTRAINT_CATALOG
,
CONSTRAINT_SCHEMA
,
TABLE_NAME
,
CONSTRAINT_NAME
)
;
--
sorted_result
select
tc
.
TABLE_SCHEMA
,
tc
.
TABLE_NAME
,
...
...
@@ -1951,6 +1953,7 @@ from information_schema.CHECK_CONSTRAINTS cc
join
information_schema
.
TABLE_CONSTRAINTS
tc
using
(
CONSTRAINT_CATALOG
,
CONSTRAINT_SCHEMA
,
TABLE_NAME
,
CONSTRAINT_NAME
)
;
--
sorted_result
select
tc
.
TABLE_SCHEMA
,
tc
.
TABLE_NAME
,
...
...
@@ -1959,6 +1962,7 @@ select
from
information_schema
.
TABLE_CONSTRAINTS
tc
NATURAL
join
information_schema
.
CHECK_CONSTRAINTS
cc
;
--
sorted_result
select
tc
.
TABLE_SCHEMA
,
tc
.
TABLE_NAME
,
...
...
@@ -1967,6 +1971,7 @@ select
from
information_schema
.
CHECK_CONSTRAINTS
cc
NATURAL
join
information_schema
.
TABLE_CONSTRAINTS
tc
;
--
sorted_result
select
tc
.
TABLE_SCHEMA
,
tc
.
TABLE_NAME
,
...
...
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