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
a232d81e
Commit
a232d81e
authored
Mar 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#19342: additional test case for code coverage
parent
68915daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
mysql-test/r/func_in.result
mysql-test/r/func_in.result
+7
-1
mysql-test/t/func_in.test
mysql-test/t/func_in.test
+5
-1
No files found.
mysql-test/r/func_in.result
View file @
a232d81e
...
...
@@ -463,5 +463,11 @@ CREATE TABLE t3 (a BIGINT UNSIGNED);
INSERT INTO t3 VALUES (9223372036854775551);
SELECT HEX(a) FROM t3 WHERE a IN (9223372036854775807, 42);
HEX(a)
DROP TABLE t1,t2,t3;
CREATE TABLE t4 (a DATE);
INSERT INTO t4 VALUES ('1972-02-06'), ('1972-07-29');
SELECT * FROM t4 WHERE a IN ('1972-02-06','19772-07-29');
a
Warnings:
Warning 1292 Incorrect date value: '19772-07-29' for column 'a' at row 1
DROP TABLE t1,t2,t3,t4;
End of 5.0 tests
mysql-test/t/func_in.test
View file @
a232d81e
...
...
@@ -354,6 +354,10 @@ INSERT INTO t3 VALUES (9223372036854775551);
SELECT
HEX
(
a
)
FROM
t3
WHERE
a
IN
(
9223372036854775807
,
42
);
DROP
TABLE
t1
,
t2
,
t3
;
CREATE
TABLE
t4
(
a
DATE
);
INSERT
INTO
t4
VALUES
(
'1972-02-06'
),
(
'1972-07-29'
);
SELECT
*
FROM
t4
WHERE
a
IN
(
'1972-02-06'
,
'19772-07-29'
);
DROP
TABLE
t1
,
t2
,
t3
,
t4
;
--
echo
End
of
5.0
tests
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