Commit Graph

327 Commits

Author SHA1 Message Date
75f089d056 util/types: clean up, removed unused code. (#1281) 2016-06-02 10:42:36 +08:00
c9413d622b *: fix auto increment type (#1262) 2016-05-26 17:18:37 +08:00
d3cb90559b *: change Context method FinishTxn to CommitTxn and RollbackTxn. (#1253)
Makes it easier to read.
2016-05-24 13:17:01 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00
e069bd8df4 fix default null bug in ddl
fix default null bug and add unittest
2016-05-18 14:49:23 +08:00
907431cf03 ddl: fix a bug in fktest (#1176)
* ddl: fix a bug in fktest

* address comment.
2016-04-28 16:17:23 +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
bbffc220ed *: Tiny cleanup (#1145)
Fix typo
2016-04-23 10:27:13 +08:00
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +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
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
xia
c4d97a7976 ddl: rename startDDLJob to doDDLJob 2016-03-31 16:20:51 +08:00
xia
6aacddd44e *: unify error format 2016-03-31 16:20:47 +08:00
xia
d17e99073d *: unify errors in ddl package 2016-03-29 11:37:33 +08:00
xia
4319909e08 *: unify error format in infoschema package 2016-03-29 11:10:56 +08:00
xia
4a2fe15c63 Merge remote-tracking branch 'origin/master' into zimuxia/issue-962
Conflicts:
	ddl/ddl.go
2016-03-18 14:38:59 +08:00
xia
7a7026e750 *: add a null kind judgment in the update statement and update comments 2016-03-18 14:29:57 +08:00
xia
15c0319294 *: fix issue 962 and handle other questions about auto increment. 2016-03-18 12:23:55 +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
2e13076c4a *: Ignore foreign key when check index name duplication 2016-03-16 11:33:40 +08:00
0fed9dbc5e ddl: fixed test bug 2016-03-05 11:30:06 +08:00
ac12b71714 *: replace interface{} with Datum in convert. 2016-03-07 14:11:17 +08:00
515f193bd2 *: Remove coldef package
There are lots of redundancies between ast and coldef. So we remove
coldef.
2016-03-05 19:11:04 +08:00
380e6fd0a6 Merge branch 'master' into master 2016-03-04 14:21:04 +08:00
06cc381fa5 ddl:Delete the useless judgment 2016-03-04 14:11:04 +08:00
3d06fb90fe *: replace interface{} with Datum in kv.Index 2016-03-03 11:41:09 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
9b3a4ff434 ddl: fix a bug in ddl close
Fix a bug in https://github.com/pingcap/tidb/blob/master/ddl/ddl.go#L132.
2016-03-02 15:12:57 +08:00
043ebd5ec8 *: Refactor package organization
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
d9f98132ee ast: introduce 'Datum'
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
xia
d8afe83b9f ddl: fix background work test panic 2016-02-25 11:45:59 +08:00
77bedd0794 Merge pull request #914 from pingcap/zimuxia/show-ddl
*: Support show background DDL info
2016-02-22 11:40:01 +08:00
xia
79eb12187b *: rename GetDDLBgInfo to GetBgDDLInfo 2016-02-22 11:27:19 +08:00
b47cf737c8 *: add Table.Seek method and use handle for RowKeyEntry.
Avoid calling `table/tables` methods in `executor`, makes `Table` interface independent.
2016-02-19 14:31:04 +08:00
b9d8a0a0a0 Merge pull request #910 from pingcap/coocood/refactor-table
*: simplify 'table.Table` interface.
2016-02-19 12:05:36 +08:00
871679be04 Merge pull request #889 from pingcap/zimuxia/bg-job-stats
*: Support show current background job info
2016-02-19 10:09:12 +08:00
xia
011162b8fb ddl: update stats tests and background worker tests 2016-02-19 10:02:06 +08:00
xia
4b82c15cf3 ddl: support get background job info 2016-02-19 10:01:59 +08:00
ec475aae5f *: simplify 'table.Table` interface.
Makes it easier to implement a in-memory table.
2016-02-18 20:58:53 +08:00
4f2f242fdf executor: support DDL statements. 2016-02-17 16:36:26 +08:00
f0326086aa parser/coldef: remove dependency on expression. 2016-02-17 14:12:08 +08:00
xia
ecad0210be *: address comments 2016-02-03 17:54:22 +08:00
xia
d2c3575c6f ddl: address comments 2016-02-02 15:40:37 +08:00
xia
8b362f35fc *: address comments 2016-02-01 20:09:33 +08:00
xia
7a3daf5dca *: address comments and add test 2016-01-21 19:44:42 +08:00
xia
500509b9be ddl: pass vet --shadow 2016-01-20 12:30:56 +08:00
xia
79aaefbbc0 *: rename job to ddlJob, rename task to bgJob 2016-01-20 12:19:54 +08:00
xia
071eff6716 *: address comments 2016-01-20 12:19:54 +08:00
xia
c789674315 ddl: add test 2016-01-20 12:19:54 +08:00