Debian Codegraph @

mysql-test/suite/ndb/r/ndb_default_as_expr.result

raw
1 DROP TABLE IF EXISTS t1;
2 #
3 # For now expressions are not allowed to be set as DEFAULT using NDB
4 #
5 CREATE TABLE t1 (i INT, j DOUBLE DEFAULT (i*i)) ENGINE = ndbcluster ;
6 ERROR HY000: 'Specified storage engine' is not supported for default value expressions.
7 CREATE TABLE t1 (i INT) ENGINE = ndbcluster ;
8 ALTER TABLE t1 ALTER COLUMN i SET DEFAULT (i*i);
9 ERROR HY000: 'Specified storage engine' is not supported for default value expressions.
10 alter table t1 add column k double DEFAULT (SQRT(z));
11 ERROR HY000: 'Specified storage engine' is not supported for default value expressions.
12 DROP TABLE IF EXISTS t1;