Debian Codegraph @

mysql-test/suite/vcol/r/func_regexp.result

raw
1 #
2 # Start of 10.5 tests
3 #
4 #
5 # MDEV-21058 CREATE TABLE with generated column and RLIKE results in sigabrt
6 #
7 CREATE TABLE t1 (c0 INT AS(('' RLIKE '[')));
8 ERROR 42000: Regex error 'missing terminating ] for character class at offset 1'
9 CREATE TABLE t1 (c0 INT AS(REGEXP_INSTR('','[')));
10 ERROR 42000: Regex error 'missing terminating ] for character class at offset 1'
11 CREATE TABLE t1
12 (
13 c0 INT,
14 c1 INT AS(('' RLIKE NULL)),
15 c2 INT AS(REGEXP_INSTR('',NULL))
16 );
17 INSERT INTO t1 (c0) VALUES (0);
18 SELECT * FROM t1;
19 c0 c1 c2
20 0 NULL NULL
21 DROP TABLE t1;
22 #
23 # End of 10.5 tests
24 #