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
87e7709f
Commit
87e7709f
authored
Jun 13, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/ram/work/mysql-5.0-maint
into mysql.com:/home/ram/work/b28748/b28748.5.0
parents
da337979
e570a72b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
20 deletions
+38
-20
mysql-test/r/func_in.result
mysql-test/r/func_in.result
+18
-9
mysql-test/t/func_in.test
mysql-test/t/func_in.test
+20
-11
No files found.
mysql-test/r/func_in.result
View file @
87e7709f
...
@@ -431,15 +431,17 @@ insert into t2 values(13491727406643098568),
...
@@ -431,15 +431,17 @@ insert into t2 values(13491727406643098568),
(0x8000000400000001),
(0x8000000400000001),
(0x8000004000000001),
(0x8000004000000001),
(0x8000040000000001);
(0x8000040000000001);
SELECT HEX(a) FROM t2 WHERE a IN (0xBB3C3E98175D33C8, 42);
SELECT HEX(a) FROM t2 WHERE a IN
(CAST(0xBB3C3E98175D33C8 AS UNSIGNED),
42);
HEX(a)
HEX(a)
BB3C3E98175D33C8
BB3C3E98175D33C8
SELECT HEX(a) FROM t2 WHERE a IN
SELECT HEX(a) FROM t2 WHERE a IN
(
0xBB3C3E98175D33C8
,
(
CAST(0xBB3C3E98175D33C8 AS UNSIGNED)
,
0x7fffffffffffffff
,
CAST(0x7fffffffffffffff AS UNSIGNED)
,
0x8000000000000000
,
CAST(0x8000000000000000 AS UNSIGNED)
,
0x8000000000000400
,
CAST(0x8000000000000400 AS UNSIGNED)
,
0x8000000000000401
,
CAST(0x8000000000000401 AS UNSIGNED)
,
42);
42);
HEX(a)
HEX(a)
BB3C3E98175D33C8
BB3C3E98175D33C8
...
@@ -447,15 +449,22 @@ BB3C3E98175D33C8
...
@@ -447,15 +449,22 @@ BB3C3E98175D33C8
8000000000000000
8000000000000000
8000000000000400
8000000000000400
8000000000000401
8000000000000401
SELECT HEX(a) FROM t2 WHERE a IN (0x7fffffffffffffff,0x8000000000000001);
SELECT HEX(a) FROM t2 WHERE a IN
(CAST(0x7fffffffffffffff AS UNSIGNED),
CAST(0x8000000000000001 AS UNSIGNED));
HEX(a)
HEX(a)
7FFFFFFFFFFFFFFF
7FFFFFFFFFFFFFFF
8000000000000001
8000000000000001
SELECT HEX(a) FROM t2 WHERE a IN (0x7ffffffffffffffe,0x7fffffffffffffff);
SELECT HEX(a) FROM t2 WHERE a IN
(CAST(0x7ffffffffffffffe AS UNSIGNED),
CAST(0x7fffffffffffffff AS UNSIGNED));
HEX(a)
HEX(a)
7FFFFFFFFFFFFFFE
7FFFFFFFFFFFFFFE
7FFFFFFFFFFFFFFF
7FFFFFFFFFFFFFFF
SELECT HEX(a) FROM t2 WHERE a IN (0x7ffffffffffffffe,0x7fffffffffffffff,'abc');
SELECT HEX(a) FROM t2 WHERE a IN
(0x7ffffffffffffffe,
0x7fffffffffffffff,
'abc');
HEX(a)
HEX(a)
7FFFFFFFFFFFFFFE
7FFFFFFFFFFFFFFE
7FFFFFFFFFFFFFFF
7FFFFFFFFFFFFFFF
...
...
mysql-test/t/func_in.test
View file @
87e7709f
...
@@ -335,19 +335,28 @@ insert into t2 values(13491727406643098568),
...
@@ -335,19 +335,28 @@ insert into t2 values(13491727406643098568),
(
0x8000004000000001
),
(
0x8000004000000001
),
(
0x8000040000000001
);
(
0x8000040000000001
);
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0xBB3C3E98175D33C8
,
42
);
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
CAST
(
0xBB3C3E98175D33C8
AS
UNSIGNED
),
42
);
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0xBB3C3E98175D33C8
,
(
CAST
(
0xBB3C3E98175D33C8
AS
UNSIGNED
)
,
0x7fffffffffffffff
,
CAST
(
0x7fffffffffffffff
AS
UNSIGNED
)
,
0x8000000000000000
,
CAST
(
0x8000000000000000
AS
UNSIGNED
)
,
0x8000000000000400
,
CAST
(
0x8000000000000400
AS
UNSIGNED
)
,
0x8000000000000401
,
CAST
(
0x8000000000000401
AS
UNSIGNED
)
,
42
);
42
);
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0x7fffffffffffffff
,
0x8000000000000001
);
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0x7ffffffffffffffe
,
0x7fffffffffffffff
);
(
CAST
(
0x7fffffffffffffff
AS
UNSIGNED
),
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0x7ffffffffffffffe
,
0x7fffffffffffffff
,
'abc'
);
CAST
(
0x8000000000000001
AS
UNSIGNED
));
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
CAST
(
0x7ffffffffffffffe
AS
UNSIGNED
),
CAST
(
0x7fffffffffffffff
AS
UNSIGNED
));
SELECT
HEX
(
a
)
FROM
t2
WHERE
a
IN
(
0x7ffffffffffffffe
,
0x7fffffffffffffff
,
'abc'
);
CREATE
TABLE
t3
(
a
BIGINT
UNSIGNED
);
CREATE
TABLE
t3
(
a
BIGINT
UNSIGNED
);
INSERT
INTO
t3
VALUES
(
9223372036854775551
);
INSERT
INTO
t3
VALUES
(
9223372036854775551
);
...
...
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