Commit Graph

271 Commits

Author SHA1 Message Date
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
1434fa9b89 admin: refine admin check decoder (#7862) 2018-10-23 17:55:58 +08:00
458c0d1c27 executor: refine explain analyze (#7888) 2018-10-16 20:02:43 +08:00
d21f294393 *: make explain support explain anaylze (#7827) 2018-10-12 20:01:19 +08:00
ee0d4d6c64 executor: print arguments in execute statement in log files (#7684) 2018-10-09 15:24:25 +08:00
05b37de16e *: use chunk grow for simple executor (#7540) 2018-09-27 09:07:51 +08:00
081920da93 planner,executor: support admin show slow command (#7785) 2018-09-26 19:28:53 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
bc97e2d616 plan, util/admin: fix admin check table error when a column of index is virtual generated (#6817) 2018-08-28 12:42:55 +08:00
5404e2eaae ddl: add admin check before drop table using building flag. (#7343) 2018-08-14 21:44:57 +08:00
d1f2587903 *: admin check table return tidb specific error code. (#7363) 2018-08-14 13:54:16 +08:00
9667eca8e4 executor: MaxOneRow operator should keep its promise (#7375) 2018-08-14 12:44:07 +08:00
be2c276fe4 executor, plan: remove Exists (#7207) 2018-08-09 22:45:24 +08:00
3a3845fb24 *: support admin show ddl (#7274) 2018-08-07 18:23:41 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
8c4e733ff3 executor: support 'admin check table' statement for table partition (#7087) 2018-07-19 00:08:32 +08:00
4f16bdd618 executor: remove childrenResult from baseExecutor (#7076) 2018-07-18 21:18:48 +08:00
461663652d *: support 'admin show ddl jobs <number>' grammar (#7028) 2018-07-12 14:49:14 +08:00
39a8d0eb7a executor: support parallel projection (#6323) 2018-06-07 22:50:54 +08:00
a54ab4270c executor: gather all the error definitions together (#6772) 2018-06-07 10:58:03 +08:00
a8feebee39 executor: make admin check table error more readable. (#6617) 2018-06-05 14:16:30 +08:00
5c2d21eab4 *: remove function "NewChunk" (#6524) 2018-05-14 13:43:19 +08:00
60e7a50136 executor: fix a wrong result of limit operator when offset is a multiple of MaxChunkSize (#6498) 2018-05-08 16:16:31 +08:00
3324d3b33c admin: admin show ddl jobs add tableName, schema name (#6276) 2018-05-06 20:53:08 +08:00
05bbffec0f *: remove IntColumnRange. (#6366) 2018-04-24 19:37:26 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
fe60be9f7f executor: remove Row (#6236) 2018-04-08 22:28:25 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
9c4cef8e04 executor: remove unused codes (#6193) 2018-03-30 19:38:07 +08:00
defccc1acd executor: fix admin check table bug when the column is nil and has a default value (#6142) 2018-03-27 17:35:21 +08:00
a90ecea7dd executor: remove some remained unused functions for removing Executor.Next (#6112) 2018-03-22 21:34:52 +08:00
1081126e25 *: fix a data race for SelectForUpdate executor (#6096)
select * from (select * from t for update) t join t1 for update
There will be two SelectForUpdate executors, both modify TxnCtx
in NextChunk
2018-03-20 05:37:30 -05:00
67c948b609 executor: refactor merge join (#6078) 2018-03-20 12:37:40 +08:00
eacca19bde executor: remove Next function for NestedLoopApplyExec (#6027) 2018-03-20 10:44:07 +08:00
daa866cdd4 executor: remove Next function for executor/write.go (#5995)
remove Next function for DeleteExec && LoadData && InsertExec && ReplaceExec && UpdateExec
2018-03-18 21:10:51 +08:00
063924a4f6 executor: remove Next() function for CheckTableExec (#6057) 2018-03-17 08:26:50 +08:00
cf6a0045da executor: remove Next() function for SelectionExec (#6021)
* executor: remove Next() function for SelectionExec
2018-03-16 11:45:49 +08:00
090f7c5e12 admin: show more information on ddl history (#6035)
* admin:address comments

* output information limit number

* handling comment questions

* handling comment questions

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* *: fix test case

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments
2018-03-16 10:07:50 +08:00
98a2640286 *: support 'admin recover index' (#5980) 2018-03-15 18:04:35 +08:00
d2d06ecac2 executor: remove Next() function for ProjectionExec (#6023) 2018-03-15 12:51:11 +08:00
629ebf177b executor: remove Next() function for TableDualExec (#6022) 2018-03-15 08:31:40 +08:00
b64284766f executor: remove Next() function for SelectLockExec (#6056) 2018-03-14 23:44:43 +08:00
98366c47b6 executor: remove Next() function for ShowDDLJobsExec (#6058) 2018-03-14 23:29:02 +08:00
a962df3739 executor: remove Next() function for ShowDDLExec (#6059) 2018-03-14 23:11:01 +08:00
5aaed4b15d executor: remove Next() function for CancelDDLJobsExec (#6060) 2018-03-14 21:55:26 +08:00
a9af0ca2f9 executor: remove Next() function for LimitExec (#6055) 2018-03-14 18:36:55 +08:00
631141b22c *: remove Next function for RecordSet (#6040) 2018-03-13 21:05:10 +08:00