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
fccbe2bf
Commit
fccbe2bf
authored
Aug 09, 2022
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
50b27052
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
plugin/type_inet/mysql-test/type_inet/type_inet6.result
plugin/type_inet/mysql-test/type_inet/type_inet6.result
+4
-1
plugin/type_inet/mysql-test/type_inet/type_inet6.test
plugin/type_inet/mysql-test/type_inet/type_inet6.test
+0
-1
No files found.
plugin/type_inet/mysql-test/type_inet/type_inet6.result
View file @
fccbe2bf
...
...
@@ -2250,11 +2250,14 @@ Warnings:
Warning 1292 Truncated incorrect max_sort_length value: '4'
CREATE TEMPORARY TABLE t1(c INET6,d DATE);
INSERT INTO t1 VALUES(0,0);
ERROR HY000: Illegal parameter data types inet6 and int for operation 'SET'
Warnings:
Warning 4078 Cannot cast 'int' as 'inet6' in assignment of `test`.`t1`.`c`
Warning 1292 Incorrect inet6 value: '0' for column `test`.`t1`.`c` at row 1
INSERT INTO t1 VALUES('::',0);
SELECT c FROM t1 ORDER BY c;
c
::
::
DROP TABLE t1;
SET max_sort_length=DEFAULT;
SET sql_mode=DEFAULT;
...
...
plugin/type_inet/mysql-test/type_inet/type_inet6.test
View file @
fccbe2bf
...
...
@@ -1652,7 +1652,6 @@ DROP TABLE t1, t2;
SET
sql_mode
=
''
;
SET
@@
SESSION
.
max_sort_length
=
4
;
CREATE
TEMPORARY
TABLE
t1
(
c
INET6
,
d
DATE
);
--
error
ER_ILLEGAL_PARAMETER_DATA_TYPES2_FOR_OPERATION
INSERT
INTO
t1
VALUES
(
0
,
0
);
INSERT
INTO
t1
VALUES
(
'::'
,
0
);
SELECT
c
FROM
t1
ORDER
BY
c
;
...
...
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