Commit Graph

580 Commits

Author SHA1 Message Date
cd5b91fa03 executor, planner: fix collation for hash join building (#23770) 2021-04-01 21:48:10 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
8fca6a21a6 util: fix range building for binary literal (#23699) 2021-03-31 14:43:24 +08:00
3ed4a23b95 executor: refineArgs() bug fix when compare int with very small decimal (#23694) 2021-03-30 20:53:24 +08:00
c32895f667 expression: fix approx_percent panic on bit column (#23687) 2021-03-30 20:17:24 +08:00
017790b113 variable: Add innodb_default_row_format as noop (#23568) 2021-03-30 12:19:24 +08:00
c9e041ee6c types: fix collation for binary literal (#23591) 2021-03-26 20:39:23 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
5bafb3203e planner: show cast type in EXPLAIN in coptask (#23123) 2021-03-16 16:16:55 +08:00
7a9b07e92b expression: fix unexpected constant fold when year compare string (#23281) 2021-03-16 14:46:55 +08:00
689a5983e1 planner: fix the bug that wrong collation is used when try fast path for enum or set (#23217) 2021-03-12 20:00:55 +08:00
07b19e0f90 config: disable prepare plan cache by default (#23240) 2021-03-11 16:26:19 +08:00
f3c64ceece executor: wrong result of nullif expr when used with is null expr. (#23170) 2021-03-09 20:44:55 +08:00
e83a8f6563 executor: fix unexpected NotNullFlag in case when expr ret type (#23102) 2021-03-05 16:44:55 +08:00
51e561187c executor: fix correlated column range in table reader for the clustered index table (#23087) 2021-03-04 15:34:54 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
d6ee6d34d8 expression: fix err check (#22992) 2021-03-03 20:20:55 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
31c13d6e38 expression: fix bugs in builtinfunction ArithmeticMinusInt logic (#22426) 2021-02-26 13:00:54 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
eea52f5f20 expression: correct constant propagation for collation (#22666)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-02-24 19:19:01 +08:00
3d372302c4 expression: add integration test for partition pruning (#22836)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-23 14:18:48 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
c9e85ec701 expression: refine performance of EXTRACT function (#22701) 2021-02-19 15:31:27 +08:00
8c2db1b935 expression: fix enum and set type expression in where clause (#22785)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-19 15:14:57 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
xhe
289bc7e79c ddl: concurrent safe api for using rule bundles cache (#22035)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-13 10:58:58 +08:00
cdcb0ffa34 expression: fix unexpected panic when doing isNullRejected check (#22173) 2021-01-11 10:55:17 +08:00
2386702697 executor: fix data too long in union statement with select null and select varchar (#22183) 2021-01-06 13:34:35 +08:00
9cb4fb38d8 expression: return correct results for user variables of datetime type (#22078) 2021-01-04 11:26:14 +08:00
933e456beb executor: disallow split table region by null values (#20496) 2020-12-26 15:26:02 +08:00
3e2ff1d16c expression: fix different types compare error (#21338) 2020-12-25 16:50:11 +08:00
c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-25 11:44:00 +08:00
d337bf4cd4 parser: update parser and add test for parse identifier (#21908) 2020-12-24 11:48:32 +08:00
4ec9b9c128 expression: fix functions format_bytes and format_nano_time incorrectly use varbinary (#15416) 2020-12-23 16:04:29 +08:00
49791bc3f5 expression: do not rewrite like to = if new collation is enabled (#21893) 2020-12-23 10:53:30 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
56d3f6b471 executor: support forbiding cross dc read for pointGet (#21840) 2020-12-22 15:31:31 +08:00
dd0dc46d5e expression: fix type infer for tidb's builtin compare(least and greatest) (#21150)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-12-22 14:58:31 +08:00
e8fb3eab2c expression: modify the mean result of time type (#21514) 2020-12-21 17:51:31 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
5cb50070bd planner: fix union doesn't handle collate correctly (#21854)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-21 15:06:33 +08:00
b232a23e7a expression, types: fix datetime and year comparison error (#20233) 2020-12-18 17:19:30 +08:00
25a94e5f2c expression:truncate decimal value instead of return error (#21691) 2020-12-18 13:46:05 +08:00
f363bffd86 mocktikv: select count result differs between tikv and mocktikv (#21166) 2020-12-17 19:44:33 +08:00
b25f62dce6 expression: fix compatibility behaviors in time_format with MySQL (#21559) 2020-12-17 15:16:57 +08:00
556ccccdeb expression: add implicit eval int and real for function dayname (#21806) 2020-12-17 14:52:04 +08:00
46fa162889 expression: do not report error when got unknown locale (#21818)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-17 13:44:05 +08:00