summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result')
-rw-r--r--storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result b/storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result
new file mode 100644
index 00000000000..eb5dfe2e8cc
--- /dev/null
+++ b/storage/tokudb/mysql-test/tokudb_alter_table/r/virtual_columns.result
@@ -0,0 +1,11 @@
+SET DEFAULT_STORAGE_ENGINE='tokudb';
+DROP TABLE IF EXISTS foo;
+set session tokudb_disable_slow_alter=ON;
+create table foo (a int, b int, c int, d int as (a mod 10) virtual, key(a))engine=TokuDB;
+ERROR HY000: TokuDB storage engine does not support computed columns
+create table foo (a int, b int, c int)engine=TokuDB;
+alter table foo add column d int as (a mod 10) virtual;
+ERROR HY000: TokuDB storage engine does not support computed columns
+alter table foo add column d int as (a mod 10) persistent;
+ERROR HY000: TokuDB storage engine does not support computed columns
+drop table foo;