mirror of
https://github.com/MariaDB/server.git
synced 2025-08-16 18:19:41 +00:00
Merge branch '10.5' into '10.6'
This commit is contained in:
@ -36,3 +36,16 @@ SELECT * FROM t1 WHERE a=CAST('::ff' AS INET6);
|
||||
EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=CAST('::ff' AS INET6);
|
||||
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-34922: Assertion `value.length() == FbtImpl::binary_length()' failed in
|
||||
--echo # Type_handler_fbt<FbtImpl, TypeCollectionImpl>::Field_fbt::store_native,
|
||||
--echo # Assertion `item->null_value' failed in Type_handler::Item_send_str
|
||||
--echo #
|
||||
|
||||
CREATE TABLE t1 (a datetime);
|
||||
INSERT INTO t1 VALUES (NULL);
|
||||
SELECT * FROM (SELECT cast('::' AS INET6),min(1) FROM t1 WHERE if(uuid_short(), a,1)) dt;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo # End of 10.5 tests
|
||||
|
@ -88,6 +88,18 @@ Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = INET6'::ff'
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-34922: Assertion `value.length() == FbtImpl::binary_length()' failed in
|
||||
# Type_handler_fbt<FbtImpl, TypeCollectionImpl>::Field_fbt::store_native,
|
||||
# Assertion `item->null_value' failed in Type_handler::Item_send_str
|
||||
#
|
||||
CREATE TABLE t1 (a datetime);
|
||||
INSERT INTO t1 VALUES (NULL);
|
||||
SELECT * FROM (SELECT cast('::' AS INET6),min(1) FROM t1 WHERE if(uuid_short(), a,1)) dt;
|
||||
cast('::' AS INET6) min(1)
|
||||
:: NULL
|
||||
DROP TABLE t1;
|
||||
# End of 10.5 tests
|
||||
#
|
||||
# MDEV-26742 Assertion `field->type_handler() == this' failed in FixedBinTypeBundle<NATIVE_LEN, MAX_CHAR_LEN>::Type_handler_fbt::stored_field_cmp_to_item
|
||||
#
|
||||
CREATE TABLE t1 (pk inet6, c text) engine=myisam;
|
||||
|
@ -155,5 +155,17 @@ Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = INET6'::ff'
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-34922: Assertion `value.length() == FbtImpl::binary_length()' failed in
|
||||
# Type_handler_fbt<FbtImpl, TypeCollectionImpl>::Field_fbt::store_native,
|
||||
# Assertion `item->null_value' failed in Type_handler::Item_send_str
|
||||
#
|
||||
CREATE TABLE t1 (a datetime);
|
||||
INSERT INTO t1 VALUES (NULL);
|
||||
SELECT * FROM (SELECT cast('::' AS INET6),min(1) FROM t1 WHERE if(uuid_short(), a,1)) dt;
|
||||
cast('::' AS INET6) min(1)
|
||||
:: NULL
|
||||
DROP TABLE t1;
|
||||
# End of 10.5 tests
|
||||
#
|
||||
# End of 10.5 tests
|
||||
#
|
||||
|
@ -88,6 +88,18 @@ Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = INET6'::ff'
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# MDEV-34922: Assertion `value.length() == FbtImpl::binary_length()' failed in
|
||||
# Type_handler_fbt<FbtImpl, TypeCollectionImpl>::Field_fbt::store_native,
|
||||
# Assertion `item->null_value' failed in Type_handler::Item_send_str
|
||||
#
|
||||
CREATE TABLE t1 (a datetime);
|
||||
INSERT INTO t1 VALUES (NULL);
|
||||
SELECT * FROM (SELECT cast('::' AS INET6),min(1) FROM t1 WHERE if(uuid_short(), a,1)) dt;
|
||||
cast('::' AS INET6) min(1)
|
||||
:: NULL
|
||||
DROP TABLE t1;
|
||||
# End of 10.5 tests
|
||||
#
|
||||
# MDEV-26742 Assertion `field->type_handler() == this' failed in FixedBinTypeBundle<NATIVE_LEN, MAX_CHAR_LEN>::Type_handler_fbt::stored_field_cmp_to_item
|
||||
#
|
||||
CREATE TABLE t1 (c varchar(64), key(c)) engine=myisam;
|
||||
|
Reference in New Issue
Block a user