Commit Graph

12316 Commits

Author SHA1 Message Date
052d716955 test: stablize test case (#21643) 2020-12-10 21:16:21 +08:00
c33e90a7ae ddl: make the system table visible in tableStorageStat (#21570) 2020-12-10 19:27:52 +08:00
2905b0defb *: modify autoid allocator's Alloc() method, add context and tracing (#21617) 2020-12-10 17:24:21 +08:00
b4eee287af *: extract topn out of histogram correctly (#21007)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
2020-12-10 17:05:39 +08:00
0e76bd3f04 table: fix create columns partition table failed when contain SQL key word (#21588) 2020-12-10 16:47:21 +08:00
21bf3b6202 ddl: add a switch for multi schema change & make it compatible with old test cases (#21533) 2020-12-10 16:26:00 +08:00
b9c5aaf552 planner: error by default for GROUP BY expr ASC|DESC (#21120) 2020-12-10 16:01:51 +08:00
39d8fcc71b executor: fix value swapping and multi-updates in UPDATE statement (#20493) 2020-12-10 15:48:02 +08:00
e87d9d75d8 session: set default connect collation to utf8mb4_bin (#21179) 2020-12-10 15:33:22 +08:00
836bf75f1b server: check LOAD DATA is into a base table (#20924) 2020-12-10 15:18:21 +08:00
687df7abc6 ddl: fix unstable restartWorker test (#21633) 2020-12-10 15:04:52 +08:00
c138941231 expression: handle invalid argument for addtime and subtime function (#21600)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-10 14:34:52 +08:00
bc41e47360 store/tikv: support fallback from async commit (take 2) (#21531)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-12-10 12:16:21 +08:00
fa3e45653f store: use RLock when reading snapshot.replicaRead snapshot.taskID (#21627) 2020-12-10 12:01:51 +08:00
254ee2db27 store: support maintaining labels in Store (#21565) 2020-12-10 11:47:38 +08:00
8a3705ee40 expression: change the round rule for approximate value to round to nearest even (#21324) 2020-12-10 11:34:52 +08:00
f44c77371e test: convert test to benchmard test to make ci stable (#21616)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-10 11:16:52 +08:00
009c4894e9 executor: make TestPointGetReadLock stable (#21624)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-10 10:33:52 +08:00
7007bb543b planner: move partition prune test from expression pkg to planner/core pkg (#21587) 2020-12-10 10:01:28 +08:00
9c3e106374 session: add default_week_format to builtinGlobalVariable (#21511) 2020-12-10 08:34:53 +08:00
51fbf415c9 executor: fix the KV decoding logic of memTableReader (#21575) 2020-12-09 22:16:50 +08:00
8dd5b0a0c4 planner: do not propagate column eq with different column types (#21495) 2020-12-09 19:54:43 +08:00
d0c9c5e03d store: add RLock when reading tikvSnapshot.mu.stats (#21606) 2020-12-09 19:40:01 +08:00
037c3780b6 *: remove needless InInsertStmt (#19787)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-09 19:00:59 +08:00
11b766df54 expression: fix error "invalid time format: '{0 0 0 0 0 0 0}'" for timestampAdd (#21591)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-09 17:49:03 +08:00
3b1e1027fd expression, json: fix converting from string to decimal (#21592) 2020-12-09 17:23:20 +08:00
39f94f2bbc expression: not evaluate time addition for timestamp with 2 args if 1st arg's year is zero (#21572) 2020-12-09 16:45:22 +08:00
7ea8102185 planner: Add table engine name check (#21110) 2020-12-09 15:56:06 +08:00
0eb8ff97bc executor: open childExec during execution for UnionExec (#21561) 2020-12-09 15:10:15 +08:00
5d9bb45815 config: add tcp4only for lvs whitelist! (#21552) 2020-12-09 14:44:35 +08:00
6cd3c6574b expression: fix convert number base for hybrid type (#21554)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-09 14:27:17 +08:00
b3f0f3cb74 Revert "statistics: introduce an interface for StatsCache (#20091)" (#21583) 2020-12-09 14:08:47 +08:00
340ba78f0c expression: fix compatibility behaviors in sec_to_time with MySQL (#21555) 2020-12-09 13:15:38 +08:00
69b88e48d6 tests: add mpp mock test, part 1 (#21367) 2020-12-09 12:49:48 +08:00
bb0d86536a doc/design: fix a typo of the README.md (#20590)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-09 12:35:48 +08:00
d1d891bc6c planner: refine the error message when split region by decimal column (#20543) 2020-12-09 12:21:48 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
cd2600f529 expression: fix parse timestamp literal using datetime type (#21558) 2020-12-09 11:38:47 +08:00
8eaca0ecd4 executor: rename 'tryDecodeFromHandle' param to fix name shadow (#21567) 2020-12-08 21:59:48 +08:00
3d685035ff expression: fix incorrect result of IsTrue function for time types (#21534) 2020-12-08 21:05:13 +08:00
2595487ff1 session: disable a fallback related assertion temporarily (#21563)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-12-08 19:16:47 +08:00
03f385de5f planner/core: use constant propagate before predicates push down (#21061) 2020-12-08 16:32:32 +08:00
b269ef89d9 sessionctx: add variable tidb_analyze_version (#21515) 2020-12-08 16:04:48 +08:00
6e7a15a2d0 planner : fix unsigned_decimal_col=-int_cnst access index (#21198) 2020-12-08 14:37:49 +08:00
a3a248160f ddl: check partition definition correctly in list partition (#21309) 2020-12-08 14:10:48 +08:00
1b12071e52 coprocessor: Support changing maxRanges (#21542) 2020-12-08 13:36:17 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
77572f873d planner: do not push down the aggregation function with correlated column (#21453) 2020-12-08 10:54:24 +08:00
f51bdfc514 executor: do not read from lock cache when snapshot read (#21529)
Signed-off-by: you06 <you1474600@gmail.com>
2020-12-07 20:17:17 +08:00
c3c3063b66 expression: set IsBooleanFlag for boolean scalar functions (#20706) 2020-12-07 17:22:48 +08:00