Commit Graph

621 Commits

Author SHA1 Message Date
aa9e5c6ea6 planner: fix index join on unmatched collation suffix columns paniced (#24828) 2021-06-15 17:32:36 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
2017d2fd68 types: fix wrong truncated val for bit type (#25198) 2021-06-07 15:40:29 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
30fcecad7f planner: add dml support in CTE (#25024) 2021-06-03 15:50:27 +08:00
963288a68c planner: build plan for CTE (#24792) 2021-05-28 16:47:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00
2f96bc7502 expresssion: determine the field type of control function with enum type (#24830) 2021-05-27 11:45:35 +08:00
8a066999f1 *: Remove incorrect global sysvar caching (#24699) 2021-05-26 01:37:34 +08:00
19e100c27a expression: add integration test for JDBC's SHOW VARIABLES (#24834) 2021-05-23 23:31:32 +08:00
ca23f55d89 expression: add builtin function `json_pretty` (#24675) 2021-05-20 19:36:22 +08:00
ac7e6a42c5 expression, planner: push cast down to control function with enum type. (#24542) 2021-05-19 07:51:40 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
80a557eb49 sessionctx: change innodb large prefix default (#24555) 2021-05-14 12:43:38 +08:00
d169a57ba5 util: fix wrong enum building for index range (#24632) 2021-05-14 11:55:38 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
89c0e6c91a ddl: add check table compatibility for temporary table (#24501) 2021-05-12 21:49:40 +08:00
6e348f44d2 parser: update parser to fix Can't recognize numeric literals when set 'ANSI_QUOTES' sql_mode (#24522) 2021-05-11 14:41:39 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
289dcfefdd util: fix enum index range for in/not in clause. (#24431) 2021-05-06 23:05:52 +08:00
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