mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-19071 Wrong results when using STDDEV_SAMP() and view
This commit is contained in:
@@ -191,7 +191,7 @@ create or replace table t1 (a int, b int as (stddev_pop(a)));
|
||||
ERROR HY000: Function or expression 'std()' cannot be used in the GENERATED ALWAYS AS clause of `b`
|
||||
# STDDEV_SAMP()
|
||||
create or replace table t1 (a int, b int as (stddev_samp(a)));
|
||||
ERROR HY000: Function or expression 'std()' cannot be used in the GENERATED ALWAYS AS clause of `b`
|
||||
ERROR HY000: Function or expression 'stddev_samp()' cannot be used in the GENERATED ALWAYS AS clause of `b`
|
||||
# STDDEV()
|
||||
create or replace table t1 (a int, b int as (stddev(a)));
|
||||
ERROR HY000: Function or expression 'std()' cannot be used in the GENERATED ALWAYS AS clause of `b`
|
||||
|
Reference in New Issue
Block a user