Commit Graph

341 Commits

Author SHA1 Message Date
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
cc0c09820d executor, plan: reading from memtable should only take the needed columns (#5481) 2017-12-25 15:15:18 +08:00
6ca4382dba *: fix update JSON field. (#5345) 2017-12-11 11:39:14 +08:00
0604183023 executor: set priority for IndexLookupExecutor when reading table (#5288) 2017-12-03 23:46:52 +08:00
6c68e41f73 store/tikv: use go fail for some tests. (#5280)
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
d8fa8ef362 *: fix lint warnings (#5259) 2017-11-29 12:57:38 +08:00
2e5405dc8f mock-tikv: fix table scan with point ranges (#5251) 2017-11-28 18:54:54 +08:00
ae9d7f5dab *: set session variable MaxChunkSize to 2 for test (#5238) 2017-11-28 13:48:36 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
02f6bb27c7 *: remove goCtx from session struct (#5174)
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
b9ca00ad5f plan, executor: deep clone TopN when push it down through Join (#5158) 2017-11-20 17:24:12 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
ec9d1f0cc6 *: simplify RecordSet.Fields. (#5068) 2017-11-12 12:07:18 +08:00
15212587e1 *: remove resolver.go (#4988) 2017-11-10 14:42:10 +08:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
37681cf435 *: opentracing for two phase commit (#4900) 2017-10-26 17:43:45 +08:00
e96321b3f1 ranger: simple improvement for range calc for pk. (#4767) 2017-10-24 20:21:23 +08:00
ebf090b0dc plan, executor: remove some XXStmt from resolver.go (#4823)
* plan, executor: remove AdminStmt, AlterTableStmt, AnalyzeTableStmt, DropStatsStmt, CreateIndexStmt,
CreateTableStmt, DoStmt, DropTableStmt, DropIndexStmt, RenameTableStmt, SetStmt, ShowStmt from resolver.go
2017-10-24 06:16:34 -05:00
7afae3f89c *: support write slow query log into seperate files (#4804) 2017-10-20 14:22:10 +08:00
1b87bc1d55 executor: fix a select bug when handle is MaxInt64 (#4835) 2017-10-19 21:38:55 -05:00
c49c2d333d inspectkv: rename package inspectkv to admin (#4815) 2017-10-19 21:33:24 -05:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
a34964a36a *: improve the column info for client (#4770)
Add table/database info in the response message.
2017-10-15 08:27:13 -05:00
2c90dd0ca8 exectuor: fix data race in test (#4714) 2017-10-08 22:07:02 -05:00
e6360b1efc *: support SyncLog kv request option (#4689) 2017-09-30 00:15:54 -05:00
a6b5c666c5 *: support NotFillCache kv request option (#4658)
If TiDB send a request with NotFillCache option, the LRU cache of underlying
storage will not be touched. select statement with SQL_NO_CACHE will use it.
2017-09-29 02:06:38 -05:00
0fd5b5167e *: change the way transfer handle. (#4348) 2017-09-27 03:47:07 -05:00
5a47a06dbf *: move tests (#4651) 2017-09-27 14:38:45 +08:00
0094512187 *: update start ts for NewTxn. (#4628)
The start_ts is only updated in `ActivePendingTxn`, it need to be updated in `NexTxn` as well.
2017-09-25 20:07:24 +08:00
16c008bc70 *: move tests. (#4604) 2017-09-22 17:38:40 +08:00
069cc8b222 expression: open new expression framework by default (#4595) 2017-09-22 15:29:42 +08:00
74ab097d59 expression: fix a panic in buildSubquery. (#4596) 2017-09-21 05:57:05 -05:00
c9e17e8317 plan: wrap CAST on generation expressions. (#4501)
* plan: wrap CAST on generation expressions.
2017-09-20 19:49:34 +08:00
c92b124aa9 *: make test leak great again (#4543) 2017-09-20 17:07:32 +08:00
b22e639c4a session_test: move some tests. (#4574) 2017-09-19 20:33:51 +08:00
117ff28207 *: move InitLogger from SetUpSuite to TestT (#4532) 2017-09-15 15:16:22 +08:00
3f48f3a130 session_test, executor_test: move tests of schema change. (#4505) 2017-09-13 21:07:24 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
7cdbcebec0 executor: fix a order by bug (#4470) 2017-09-07 23:44:38 -05:00
0b04d1c6c7 expression: rewrite builtin JSON functions under the new framework. (#4367) 2017-09-06 14:42:35 +08:00
952aafd403 *: Add operation of admin show ddl jobs (#4316)
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
3f773bad90 plan: fix bug when push topn down. (#4413) 2017-09-04 17:10:24 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00