Commit Graph

1986 Commits

Author SHA1 Message Date
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
2f42f7c0f6 planner: unify the argument of stats functions to use SessionCtx instead of StatementContext (#30668) 2021-12-14 19:36:35 +08:00
e9b1fb8ab5 topsql: introduce datasink interface (#30662) 2021-12-14 19:22:34 +08:00
dd7f71fb43 util/testkit/testkit.go: fix typo (#30638) 2021-12-14 18:52:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b626745299 util: replace compareDatum by compare, point part (#30575) 2021-12-14 01:20:35 +08:00
12e2288440 topsql: shouldn't evict the SQL meta, since the evicted SQL can be appear on Other components (TiKV) TopN records (#27050) 2021-12-13 20:58:35 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
7a5a8bf057 logutil: add testcase for SlowQueryLogger.MaxDays/MaxSize/MaxBackups (#30316) 2021-12-08 12:57:56 +08:00
d83ee8cfda executor,util: write slow query to slow log no matter what log level (#30461) 2021-12-07 20:49:56 +08:00
f82ca6a8eb statistics, util/ranger: add cardinality estimation trace for GetRowCountBy... (#30321) 2021-12-07 19:45:56 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
dfd7157637 util, cmd: remove unused filesort (#30438) 2021-12-06 17:11:56 +08:00
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
94be83bfa6 *: replace compareDatum by compare and fix wrong optimize order by (#30273) 2021-12-01 19:01:53 +08:00
a90344c5a3 planner: regard NULL as point when accessing composite index (#30244) 2021-12-01 10:15:34 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
8ace8f612e planner: revise optimize trace logic (#30163) 2021-11-29 19:27:52 +08:00
3baa95ff38 planner: implement aggregation eliminate optimize trace (#30114) 2021-11-29 18:21:53 +08:00
eb7672fc48 *: replace compareDatum by compare and ignore warnings is collate is empty (#30105) 2021-11-29 17:53:53 +08:00
8550dbb216 *: add cardinality estimation trace for Selectivity (#29883) 2021-11-29 17:01:52 +08:00
75f6225948 expression, util/codec: fix wrongly eliminated conditions caused by HashCode() collision (#30120) 2021-11-25 19:33:51 +08:00
d6e9986aa1 *: remove unused profile memory tracker from global tracker (#30143) 2021-11-25 18:35:51 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
dde1e0bf04 *: skip unstable test (#29433)
* skip test

Signed-off-by: yisaer <disxiaofei@163.com>

* skip unstable test

Signed-off-by: yisaer <disxiaofei@163.com>
2021-11-25 12:38:52 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
45836a6afe expression, sessionctx: support rand_seed1 and rand_seed2 sysvar (#29936) 2021-11-24 13:35:50 +08:00
d04a1285a5 ddl, util/codec: fix add index OOM and prevent panic in logging (#29925) 2021-11-24 10:35:51 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
fb5eb1fa77 *: replace compareDatum by compare (#30048) 2021-11-23 15:57:50 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
44283b743b util: remove Parallel for TestIndexRange (#29954) 2021-11-22 14:29:49 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
db
177be48e94 executor: add retriver for tidb_hot_regions_history (#27375) 2021-11-19 16:43:48 +08:00
951f6cf774 *: use testkit/testdata instead of util/testutil (#29906) 2021-11-19 12:55:47 +08:00
46de14d7a1 [logutil]: Fix MaxDays and MaxBackups not working for slow-query-logger (#27625) 2021-11-18 18:15:47 +08:00
62b07a6c92 *: migrate test-infra to testify for executor/prepared_test.go (#29861) 2021-11-18 15:05:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
de60ebaf25 util/chunk: avoid reuse duplicated chunk column in the pool (#29809) 2021-11-16 13:01:07 +08:00
680ea4bded *: remove remaining file when exit for TestGlobalLoggerReplace (#29347) 2021-11-16 01:35:06 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
e27af5e04f *: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. (#29593) 2021-11-12 13:19:06 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
b266d7d574 util: add WaitGroupWrapper (#29614) 2021-11-12 02:27:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00