diff options
author | Daniel Black <daniel@mariadb.org> | 2022-07-05 17:37:26 +1000 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-07-31 14:54:37 +0200 |
commit | 8b9ac5bfe0b6f61f56553de62e5459e13a3d41e0 (patch) | |
tree | 28db63af54930aba247338adc88ff32c76206dda /mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result | |
parent | 3c2b0cac521f41d13bad35e496633db7b6d8600b (diff) | |
download | mariadb-git-8b9ac5bfe0b6f61f56553de62e5459e13a3d41e0.tar.gz |
MDEV-29029 RANDOM_BYTES cannot be virtual column
Diffstat (limited to 'mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result')
-rw-r--r-- | mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result b/mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result index b777bb485de..a34b9906d52 100644 --- a/mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result +++ b/mysql-test/suite/gcol/r/gcol_blocked_sql_funcs_myisam.result @@ -172,6 +172,18 @@ alter table t1 add column r blob generated always as (match(a) against ('' in boolean mode)) virtual; ERROR HY000: Function or expression 'match ... against()' cannot be used in the GENERATED ALWAYS AS clause of `r` drop table t1; +# +# MDEV-29029 Index corruption and/or assertion failure upon using RANDOM_BYTES for indexed virtual column +# +create table t1 (a int); +alter table t1 add column b binary(32) generated always as (random_bytes(a)); +ERROR HY000: Function or expression 'random_bytes()' cannot be used in the GENERATED ALWAYS AS clause of `b` +alter table t1 add column b binary(32) default (random_bytes(a)); +drop table t1; +# +# +# End of 10.10 tests +# DROP VIEW IF EXISTS v1,v2; DROP TABLE IF EXISTS t1,t2,t3; DROP PROCEDURE IF EXISTS p1; |