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
69be8f3c
Commit
69be8f3c
authored
Jun 14, 2019
by
Anel Husakovic
Committed by
Sergey Vojtovich
Jun 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply valid parameter type for test case in i_s_parameters.test
parent
645191aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/information_schema_parameters.result
mysql-test/r/information_schema_parameters.result
+2
-2
mysql-test/t/information_schema_parameters.test
mysql-test/t/information_schema_parameters.test
+1
-1
No files found.
mysql-test/r/information_schema_parameters.result
View file @
69be8f3c
...
@@ -392,7 +392,7 @@ SPECIFIC_CATALOG SPECIFIC_SCHEMA SPECIFIC_NAME ORDINAL_POSITION PARAMETER_MODE P
...
@@ -392,7 +392,7 @@ SPECIFIC_CATALOG SPECIFIC_SCHEMA SPECIFIC_NAME ORDINAL_POSITION PARAMETER_MODE P
DROP DATABASE IF EXISTS i_s_parameters_test;
DROP DATABASE IF EXISTS i_s_parameters_test;
CREATE DATABASE i_s_parameters_test;
CREATE DATABASE i_s_parameters_test;
USE i_s_parameters_test;
USE i_s_parameters_test;
CREATE PROCEDURE testproc (
OUT
param1 INT)
CREATE PROCEDURE testproc (
IN
param1 INT)
BEGIN
BEGIN
SELECT 2+2 as param1;
SELECT 2+2 as param1;
END;
END;
...
@@ -400,7 +400,7 @@ END;
...
@@ -400,7 +400,7 @@ END;
SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
SELECT * FROM INFORMATION_SCHEMA.PARAMETERS
WHERE SPECIFIC_SCHEMA = 'i_s_parameters_test' AND SPECIFIC_NAME = 'testproc';
WHERE SPECIFIC_SCHEMA = 'i_s_parameters_test' AND SPECIFIC_NAME = 'testproc';
SPECIFIC_CATALOG SPECIFIC_SCHEMA SPECIFIC_NAME ORDINAL_POSITION PARAMETER_MODE PARAMETER_NAME DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_TYPE
SPECIFIC_CATALOG SPECIFIC_SCHEMA SPECIFIC_NAME ORDINAL_POSITION PARAMETER_MODE PARAMETER_NAME DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_TYPE
def i_s_parameters_test testproc 1
OUT
param1 int NULL NULL 10 0 NULL NULL NULL int(11) PROCEDURE
def i_s_parameters_test testproc 1
IN
param1 int NULL NULL 10 0 NULL NULL NULL int(11) PROCEDURE
# ========== parameters.5 ==========
# ========== parameters.5 ==========
DROP DATABASE IF EXISTS i_s_parameters_test;
DROP DATABASE IF EXISTS i_s_parameters_test;
CREATE DATABASE i_s_parameters_test;
CREATE DATABASE i_s_parameters_test;
...
...
mysql-test/t/information_schema_parameters.test
View file @
69be8f3c
...
@@ -92,7 +92,7 @@ CREATE DATABASE i_s_parameters_test;
...
@@ -92,7 +92,7 @@ CREATE DATABASE i_s_parameters_test;
USE
i_s_parameters_test
;
USE
i_s_parameters_test
;
delimiter
//;
delimiter
//;
CREATE
PROCEDURE
testproc
(
OUT
param1
INT
)
CREATE
PROCEDURE
testproc
(
IN
param1
INT
)
BEGIN
BEGIN
SELECT
2
+
2
as
param1
;
SELECT
2
+
2
as
param1
;
END
;
END
;
...
...
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