summaryrefslogtreecommitdiffstats
path: root/plugin/type_inet/mysql-test/type_inet/type_inet6_stat_tables.result
blob: 1cbedad1c3cd0d811009eef3c0bffb509e5058ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Start of 10.5 tests
#
#
# MDEV-20800 Server crashes in Field_inet6::store_warning upon updating table statistics
#
CREATE TABLE t1 (a INET6);
INSERT INTO t1 VALUES ('1::1'),('2::2');
ANALYZE TABLE t1 PERSISTENT FOR ALL;
Table	Op	Msg_type	Msg_text
test.t1	analyze	status	Engine-independent statistics collected
test.t1	analyze	status	OK
INSERT INTO t1 VALUES ('3::3');
DROP TABLE t1;
#
# MDEV-22509: Server crashes in Field_inet6::store_inet6_null_with_warn / Field::maybe_null
#
CREATE TABLE t1 (a INT, b INET6 NOT NULL);
INSERT INTO t1 VALUES (1,'::'),(2,'::');
ANALYZE TABLE t1 PERSISTENT FOR ALL;
Table	Op	Msg_type	Msg_text
test.t1	analyze	status	Engine-independent statistics collected
test.t1	analyze	status	OK
SELECT t1.a from t1;
a
1
2
DROP TABLE t1;
#
# End of 10.5 tests
#