Commit Graph

10029 Commits

Author SHA1 Message Date
2b7b657f42 ddl: throw warning when ALTER TABLE ORDER BY on table with primary key (#14324) 2020-01-03 19:41:09 +08:00
d07728468f planner: fix error when select view_name.col_name from view_name (#14314) 2020-01-03 16:16:39 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
dd2e7575aa ddl: add support for renaming columns (#14281) 2020-01-03 13:16:09 +08:00
9e57df1c70 executor: fix cluster log retriever panic (#14313) 2020-01-03 10:13:39 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
5d76de903a server: support tag sql in pprof result (#14312) 2020-01-02 15:51:39 +08:00
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
e96be4580f plan, partition: add fast access path for hash partition (#13772) 2020-01-02 13:33:09 +08:00
fcf581fb61 executor: speed up TestMemoryAndDiskUsageAfterClose (#14311) 2020-01-01 23:26:27 -06:00
1437d7e65b expression: open push down switcher for part of CAST functions (#13837)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-02 11:43:43 +08:00
b1c08ee276 ddl: fix anonymous indexes on the primary column (#14250) 2020-01-01 21:31:10 +08:00
4f7f70b982 ddl: make ddl test more stable (#14305) 2020-01-01 20:27:09 +08:00
0d76bdb04a *: fix schema change validation for partitioned table when transaction commit (#14235) 2020-01-01 19:17:09 +08:00
a7ff591368 session, executor: add memTracker for DeleteExec (#14289) 2019-12-31 22:06:20 +08:00
e00887e3b9 executor: add memTracker for UpdateExec (#14299) 2019-12-31 21:59:31 +08:00
a487748b46 executor: support merge join on disk (#13946) 2019-12-31 18:49:10 +08:00
ba2ff85c58 *: support caching coprocessor responses (#13824) 2019-12-31 18:24:40 +08:00
23de656351 metrics,store: add a metric for ttlManager to record the lifetime reach events (#14298) 2019-12-31 18:00:25 +08:00
57c2d76e3c server: support partitioned table for the /mvcc/* HTTP API (#14197)
use the table(partition) name pattern to work on the partitions
2019-12-31 17:54:14 +08:00
ebc4fa9dee executor: resort fields for reducing the memory allocated (#14208) 2019-12-31 17:19:59 +08:00
ae106f2e3b executor: support IndexMergeReaderExecutor (#12305) 2019-12-31 15:30:58 +08:00
f9492200a2 infoschema: change the way of inspection schema obtaining rows from original table (#14283) 2019-12-31 13:58:40 +08:00
fe764a97a3 *: only add union scan when dirty table is not empty (#14265) 2019-12-31 13:20:27 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
81a6eb04a5 Unit test : Optimize the test time. (#14282) 2019-12-31 09:37:39 +08:00
1881d95a9f metrics: cleanup useless metrics (#14260) 2019-12-30 15:28:39 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
ca9ecf9fcc infoschema/perfschema: add cluster statement summary table (#14259) 2019-12-30 00:32:15 +08:00
e5d5a61e13 session: use failpoint to reduce the performance impacts of test code (#14276) 2019-12-29 14:22:42 +08:00
66b8add23d executor: support show extended columns statement (#14262) 2019-12-28 21:49:09 +08:00
fb44302cb2 executor: fix 'shutdown' diffrent reaction with mysql (#14268) 2019-12-28 21:27:09 +08:00
1d2377f520 server: fix static check issues (#13878) 2019-12-28 21:02:39 +08:00
2a4bd928ed expression: add setPbCode for LeftShift (#13443) 2019-12-28 20:46:39 +08:00
a5c4606e1e planner/cascades: add transformation rule PushLimitDownUnionAll. (#14264) 2019-12-28 20:41:09 +08:00
447cfbd067 bindinfo: fix bugs when capture and evolve plans (#14206) 2019-12-28 20:35:39 +08:00
7b1b82f843 inforschema: clean up the table info in tikv_region_peers (#14230) 2019-12-28 18:44:22 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
7fcc10b55f executor: support abort the cluster log retriever (#14271) 2019-12-28 11:22:09 +08:00
c6cb405e9e executor: add rollback in releaseSysSession (#14269) 2019-12-27 23:12:02 +08:00
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02:09 +08:00
0d7edc7ef3 config: add validation for capacity of prepare plan cache (#14232) 2019-12-27 14:29:09 +08:00
7c902dc701 planner/cascades: add transformation rule PushLimitDownProjcetion (#14254) 2019-12-27 13:33:09 +08:00
7069ad64a7 planner/cascades: add transformation rule PushTopNDownTiKVSingleGather (#14242) 2019-12-27 13:14:39 +08:00
adc4931a94 privilege: Support identifying user created by IP and net mask (#14123) 2019-12-27 12:34:59 +08:00
8e88825f55 Tidy build constraints in mathutil (#14257)
- Rename *_js.go to *_wasm.go to satisfy both wasm/js and wasm/wasi
- Use +build instruction instead of *_GOOS pattern to reduce file

Signed-off-by: lucklove <gnu.crazier@gmail.com>
2019-12-26 21:11:13 +08:00
05596fe145 store: keep alive for etcd client (#14253)
Signed-off-by: qupeng <qupeng@pingcap.com>
2019-12-26 17:46:07 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
c444d7d737 expression: fix incorrect error handle in builtInMinute/Second/MicroSecondSig (#14060) 2019-12-26 15:17:39 +08:00