Commit Graph

34 Commits

Author SHA1 Message Date
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
a19ad3f480 ddl: support create index with type and comment (#3814) 2017-07-20 19:01:14 +08:00
def034cf6f ranger: add a more common method to calc range. (#3489) 2017-06-21 14:10:40 +08:00
4f56ece779 *: a little fix and add 3 functions. (#3486) 2017-06-20 14:45:12 +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
f9114342ea add comment (#3328) 2017-05-24 21:43:22 +08:00
9a9db91f63 plan: move range calculation to package ranger (#3208) 2017-05-09 02:12:39 -05:00
c32145639e fix comments mistake in model (#3183) 2017-04-29 07:27:00 -05:00
fb9cd85e2e *: Speed up the add columns phase (#2769) 2017-03-07 20:11:29 +08:00
417122af42 ddl: save original schema ID for allocator when rename table. (#2671)
Fixes a bug that renamed table to another database failed to insert.
2017-02-17 22:19:00 +08:00
99b3465c1e ddl: allocate column ID and index ID in TableInfo. (#2205) 2016-12-09 12:31:27 +08:00
e687f908d3 *: tiny clean up (#1404) 2016-07-07 09:50:45 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
d04b0b997c *: support index length (#1350)
For string columns, indexes can be created that use only the
leading part of column values, using col_name(length) syntax
to specify an index prefix length
2016-07-02 13:26:40 +08:00
e742def024 add foreign key on update and on delete support (#1152)
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00
b51ab763df plan: support limit pushdown (#1105)
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
0537b67d2b *: Add more info into TableInfo and fix bug in show create table (#1072)
Fix: https://github.com/pingcap/tidb/issues/1061
2016-04-09 15:59:51 +08:00
ce96978182 *: Add index option in IndexInfo
1. Add index option in IndexInfo.
2. Show index option content when running show index statement.
2016-03-16 22:09:11 +08:00
c3bdfb1fed stmt/stmts: insert use primary key value as record ID 2015-12-25 21:02:52 +08:00
56ff3d3000 model, ddl: add PKIsHandle field in TableInfo. 2015-12-25 20:29:21 +08:00
1a28ff83a0 Merge remote-tracking branch 'origin/master' into shenli/index-id
Conflicts:
	ddl/ddl.go
	kv/index_iter.go
2015-11-27 14:28:59 +08:00
b9135eadb4 *: Add ID to IndexInfo and use IndexID in prefix instead of IndexName 2015-11-24 21:58:26 +08:00
4eb34f69ce *: distinguish write/delete reorganization state.
we must distinguish different reorganization state after write only/
delete only state.
2015-11-11 13:29:06 +08:00
xia
01213eb729 model: rename meas to means 2015-11-04 15:47:28 +08:00
xia
87e7c0a2a6 *: rename reorgnization to reorganization 2015-11-04 14:40:36 +08:00
a815babeaa ddl: typo and clean up a bit 2015-10-27 10:56:17 +08:00
c906fea41b model: Address comment. 2015-10-26 17:37:21 +08:00
26bf34c9da *: Address comment 2015-10-24 11:57:35 +08:00
500f5c7cde *: add base ddl job worker framework 2015-10-23 15:01:18 +08:00
b647f8fba4 *: add schema lease feature 2015-10-23 09:50:54 +08:00
791f0d6f78 *: refactor with meta API. 2015-10-21 14:46:58 +08:00
55c452221c model: tiny clean up. 2015-10-07 13:02:03 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00