mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Bug#19342: additional test case for code coverage
This commit is contained in:
parent
68915daf31
commit
a232d81e80
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue