Commit Graph

2464 Commits

Author SHA1 Message Date
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
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +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
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
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
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
fd3ada61ca infoschema: add plan field to the statement summary tables (#14182) 2019-12-26 15:04:39 +08:00
aa2f716847 executor: avoid ProjectoinExec's goroutine leak (#14127) 2019-12-25 16:51:10 +08:00
efd34cb65d executor: add memTracker for aggregation (#13720) 2019-12-25 16:07:09 +08:00
57ecfb9b46 *: implement the diagnostics inspection framework (#14114)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-25 15:58:58 +08:00
279ad0d41c infoschema,planner: implement the metric table predicate push down (#14169) 2019-12-25 10:54:25 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +08:00
85afb8227e util: remove the optimization in CopySelectedJoinRows() to fix a bug in OuterHashJoin (#14010) 2019-12-24 16:58:39 +08:00
ef7adeb50d *: resort fields for reducing the memory allocated (#14172) 2019-12-23 17:10:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
f0282d32ca executor: trace the memory usage of Selection executors (#13927) 2019-12-22 21:18:02 -06:00
11c3b25ba2 executor: fix missing cached execution counter for point select (#14163) 2019-12-20 19:35:49 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
733c851eb5 infoschema: improve the security vunerability of key_column_usage and analyze_status infoschema (#14142) 2019-12-20 15:32:40 +08:00
736c2f2d27 executor: implement the CLUSTER_LOG retriever (#14046) 2019-12-20 14:48:16 +08:00
fcc5dba8a7 infoschema: add 3 fields to statement summary table (#14096) 2019-12-19 21:42:39 +08:00
730ea8ccdb infoschema: add server hardware and system sysctl cluster table (#13997) 2019-12-19 21:31:37 +08:00
39a370ce83 bindinfo: support drop bindings of dropped table (#14071) 2019-12-19 14:51:46 +08:00
352adc5b00 executor: replace the flag CastStrToIntStrict with InSelectStmt (#14115) 2019-12-18 20:45:17 +08:00
cb37596c39 privilege: fix atomic problem of DROP ROLE (#14090) 2019-12-18 20:02:46 +08:00
fc603b639d executor: implement disk-based sort (Part 1) (#13718) 2019-12-18 14:52:17 +08:00
9b7b2c0d50 planner/core: fix bug when using generated column in aggregate statement (#14111) 2019-12-18 14:46:47 +08:00
c39317e890 executor: support turn on/off slow-log by variables (#14016) 2019-12-18 10:48:46 +08:00
42adca989e tables: basic support for hidden column (#13908) 2019-12-17 21:48:46 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
7262383c88 infoschema,planner: implement the CLUSTER_LOG memory table predicate push down (#14018)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-16 21:53:45 +08:00
cbf7415873 *: add errcode for structure, tablecodec, admin files (#14054) 2019-12-16 12:07:02 +08:00
b8dad33537 executor: trace the memory usage of Projection executors (#13914) 2019-12-15 21:15:38 -06:00
3ee6bc8a21 ddl: fix the bug that VIEWs can be dropped by DROP TABLE syntax (#14048) 2019-12-13 17:07:43 +08:00
f35be4a989 executor: support index advisor, complete input preparation part (#13968) 2019-12-13 15:46:44 +08:00
9009da7378 *: lock unchanged rows for pessimistic transaction (#14045) 2019-12-13 12:00:28 +08:00
1bcf267655 infoschema: add plan digest to slow log and slow_query (#14000) 2019-12-12 11:49:00 +08:00
b04001b2a5 *: make golint happy #14025 (#14034) 2019-12-12 11:42:58 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00