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
db04328c
Commit
db04328c
authored
Mar 06, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B19342-5.0-opt
parents
f4823792
f5e9c10d
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 @
db04328c
...
@@ -463,5 +463,11 @@ CREATE TABLE t3 (a BIGINT UNSIGNED);
...
@@ -463,5 +463,11 @@ CREATE TABLE t3 (a BIGINT UNSIGNED);
INSERT INTO t3 VALUES (9223372036854775551);
INSERT INTO t3 VALUES (9223372036854775551);
SELECT HEX(a) FROM t3 WHERE a IN (9223372036854775807, 42);
SELECT HEX(a) FROM t3 WHERE a IN (9223372036854775807, 42);
HEX(a)
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
End of 5.0 tests
mysql-test/t/func_in.test
View file @
db04328c
...
@@ -354,6 +354,10 @@ INSERT INTO t3 VALUES (9223372036854775551);
...
@@ -354,6 +354,10 @@ INSERT INTO t3 VALUES (9223372036854775551);
SELECT
HEX
(
a
)
FROM
t3
WHERE
a
IN
(
9223372036854775807
,
42
);
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
--
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