Commit Graph

12 Commits

Author SHA1 Message Date
110b073aa7 ddl: Fix generated column can refer only to generated columns defined prior to it. (#11549) 2019-08-08 11:58:33 +08:00
88db7ff17b infoschema: fix compatibility of auto_increment column value o… (#10207) 2019-07-23 15:52:29 +08:00
755875aacb ddl: disallow modifying the generated expression of stored or indexed column (#10932) 2019-07-03 17:28:21 +08:00
c59a108c28 ddl, expression: Disallow add stored generated columns through ALTER TABLE (#10758) 2019-06-13 21:14:40 +08:00
9251724533 ddl, expression: disable nondeterministic function calls for generated columns (#9239) 2019-03-23 10:43:06 +08:00
7ac4902b8f ddl: disallow generated column referring to auto_increment column (#9234) 2019-03-01 11:50:13 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
3b26de9c9f Fix typo (#3583) 2017-06-30 14:48:45 +08:00
9575deeb10 ddl: add more features about generated column. (#3431)
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00