Commit Graph

596 Commits

Author SHA1 Message Date
8da5a1f113 planner, expression: support enum index scan (#22691) 2021-04-28 15:59:56 +08:00
d67beefb7b executor: make IndexMergeReader support reading partition table directly (#24239) 2021-04-27 11:31:56 +08:00
c1518ac721 expression: fix wrong collation for concat function (#24297) 2021-04-26 22:41:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
2c67a8011c expression: fix wrong flen infer for bit constant (#23867) 2021-04-25 16:23:55 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
75a031af4a expression: check NotNullFlag of columns when simplifying binary operations (#24049) 2021-04-15 23:03:53 +08:00
cf813dc63b *: protect read only noop via tidb_enable_noop_functions (#23818) 2021-04-15 17:07:54 +08:00
73dea07965 executor: fix wrong convert from bit to string when do projection (#23960) 2021-04-15 10:43:51 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
07d2b840d4 expression: don't propagateColumnEQ joinCondition when nullSensitive (#23989) 2021-04-14 17:37:52 +08:00
045c6927ca planner: remove useless cast function in AggToProj (#23981) 2021-04-14 12:01:51 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
e2a2961440 table: fix a bug in TryGetHandleRestoredDataWrapper which may cause panic (#23806) 2021-04-02 00:58:40 +08:00
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