Commit Graph

5061 Commits

Author SHA1 Message Date
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
4fd3d0b66d planner: fix data race in the TestInlineProjection4HashJoinIssue15316 (#37014)
close pingcap/tidb#37009
2022-08-11 12:24:48 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00
8af73ffa13 executor: more precise memory tracking (#35785)
close pingcap/tidb#36018
2022-08-10 22:44:48 +08:00
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
ba8e7cc78e planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
2022-08-10 17:50:48 +08:00
d0feb1b542 executor: check memory limit before allocate large memory in HashAgg (#37013)
ref pingcap/tidb#35635
2022-08-10 14:00:47 +08:00
f3eb59c079 executor: close RecordSet (#37003) 2022-08-10 13:00:47 +08:00
c63a8d83a6 statistics: support extend show histograms (#36509)
close pingcap/tidb#36481
2022-08-10 11:58:48 +08:00
45f82afa20 executor: revert #36498 to avoid perf regression (#37005)
ref pingcap/tidb#36438
2022-08-10 10:42:48 +08:00
f403e198c4 planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
2022-08-09 21:36:48 +08:00
42935af3cc parser,ddl: Interval partitioning (#35662)
ref pingcap/tidb#19132, close pingcap/tidb#35683
2022-08-09 19:06:49 +08:00
28c934cdae planner: finish todo in builtin_cast.go#L1945 (#36921)
close pingcap/tidb#36920
2022-08-09 16:16:47 +08:00
xhe
4b3563c6cb *: forbid creation of normal files with exec perm (#36691) 2022-08-09 15:42:47 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
257c78764d test: fix race for SetDDL by moving ddl inject earlier (#36964)
close pingcap/tidb#36940
2022-08-09 10:36:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
d76074623c planner: unify the parameters name in plan cache (#36899)
ref pingcap/tidb#36598
2022-08-05 17:20:06 +08:00
6418350e97 executor,expression: avoid to append nil to warnings (#36304)
close pingcap/tidb#31569
2022-08-05 17:00:06 +08:00
6be08109fb variable: Remove WARN for variable tidb_enable_noop_variable (#36890)
close pingcap/tidb#36647
2022-08-05 14:26:06 +08:00
2fbec001c9 planner: Fix panic for SET CONFIG...=DEFAULT (#35752)
close pingcap/tidb#35745
2022-08-05 14:08:06 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
46cb6dc679 executor: fix column_default with timestamp and bit type (#36851)
close pingcap/tidb#36027
2022-08-04 15:30:06 +08:00
ca86fdd4be executor: fix cop request key range order another case (#36883)
close pingcap/tidb#36876
2022-08-04 14:38:05 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
bf23ee9090 executor: invalidate infoschema's stats cache after analyze (#32803)
close pingcap/tidb#32693
2022-08-03 22:00:05 +08:00
3a74656a5a executor: introduce hashRowContainer.GetMatchedRows method (#36848)
close pingcap/tidb#36847
2022-08-03 20:34:05 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
c8cb3c96c8 planner: update plan cache key and value (#36779)
ref pingcap/tidb#36598
2022-08-02 15:26:05 +08:00
671fe70876 executor: grant privilege to table now check table existence use case insensitive (#36778)
close pingcap/tidb#34610
2022-08-02 13:06:05 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
cc2fcfceca ddl/schematracker: fix SetDDL will cause data race (#36768)
close pingcap/tidb#36766
2022-08-02 00:24:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
93a31f0f1c ddl: fix inaccurate row_count for admin show ddl jobs (#36716)
close pingcap/tidb#25968
2022-08-01 16:40:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
e7ee7e2280 executor: refine the error message for TABLE_STORAGE_STATS (#36464)
close pingcap/tidb#36403
2022-08-01 11:42:05 +08:00
d021e363a4 executor: let plan replayer support cte (#36714)
close pingcap/tidb#36712
2022-08-01 11:24:05 +08:00
1cd8c31b1a session: fix auto commit variable change effect on transaction commit (#36631)
close pingcap/tidb#36581
2022-08-01 09:36:04 +08:00
be102a3d55 *: fix timestamp conversion (#36705)
close pingcap/tidb#36707
2022-07-29 19:05:12 +08:00
c3180e0047 executor: support trace with tikv exec details (#36638)
ref pingcap/tidb#34106
2022-07-29 14:33:13 +08:00
8b919bf893 executor,store/copr: fix index merge, distsql request's key ranges should be sorted (#36633)
close pingcap/tidb#36632
2022-07-29 13:49:12 +08:00
6b83cdbea2 executor: handle NULL values properly when LOAD DATA INFILE (#36124)
close pingcap/tidb#34358
2022-07-29 13:03:12 +08:00
11e9d8519d planner: set/clear not null flag when create a new baseBuiltinFunc (#36518)
close pingcap/tidb#36517
2022-07-29 10:31:11 +08:00
bce6901705 planner: forbid load data with empty field terminator (#36500)
close pingcap/tidb#33298
2022-07-28 23:39:11 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
2c3d4f1ae4 planner/core: change behavior of fine_grained_shffule_stream_count (#36621)
close pingcap/tidb#36622
2022-07-28 17:09:11 +08:00