Commit Graph

45 Commits

Author SHA1 Message Date
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
fc36864a1f table: standalone implement for table.MutateContext and table.AllocatorContext (#51262)
close pingcap/tidb#51259
2024-02-23 07:21:27 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
4e202a4ff0 *: make sessionctx.Context depend on contexts in planner and expression (#51150)
close pingcap/tidb#51149
2024-02-19 11:04:56 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
cea36059cb expression: fix some failed tests in local env (#50954)
close pingcap/tidb#50953
2024-02-05 02:58:13 +00:00
8491da11dd codec: encode checksum for timestamp consider tz (#50896)
close pingcap/tidb#50851
2024-02-02 04:46:54 +00:00
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
0c9b0f4d2b *: delete useless SessionVars.IDAllocator (#50844)
close pingcap/tidb#50842
2024-01-31 09:43:55 +00:00
ff050bb143 expression: add expression.BuildContext to build expressions (#50662)
close pingcap/tidb#50661
2024-01-29 11:27:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
6db1d6b79c planner/core: Key partitioning uses an column index, which did not match value pairs in fast plan (#50210)
close pingcap/tidb#50206
2024-01-19 13:10:48 +00:00
6e10826f16 *: move dup key error handling to errctx (#50239)
close pingcap/tidb#50238
2024-01-10 11:51:23 +00:00
9e8089b96c table: reduce unnecessary memory usage (#50186)
close pingcap/tidb#50214
2024-01-10 02:39:24 +00:00
e56efc6421 *: memory is not allocated first if the user does not use some information from the table. (#50062)
close pingcap/tidb#50077
2024-01-08 05:09:36 +00:00
64741e9710 *: remove stmtctx.BadNullAsWarning and use errctx to handle bad null error (#50120)
close pingcap/tidb#50119
2024-01-05 11:28:51 +00:00
6eea739d4c testkit,store/mockstore: make store image to accelerate unit test (#42521)
close pingcap/tidb#42434
2024-01-05 09:05:41 +00:00
c575685f6c test: fix not-stable test about ExchangePartition when wait for ddl enter next state (#49879)
close pingcap/tidb#49777
2023-12-29 07:27:28 +00:00
7c69949621 table: refactor table pkg's warning and note generation (#49785)
close pingcap/tidb#49291
2023-12-28 02:51:29 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
7f9559c10c executor: refactor executor pkg's warning and note generation (#49600)
close pingcap/tidb#49291
2023-12-21 10:42:23 +00:00
531a1ce920 stmtctx: remove OverflowAsWarning flag (#49122)
close pingcap/tidb#49137, close pingcap/tidb#49143
2023-12-14 16:51:19 +00:00
bcbccafcea *: replace exp/maps with std/maps (#49315)
ref pingcap/tidb#45933
2023-12-11 02:19:47 +00:00
6ec3a102f6 executor: fix compatible problem of duplicate error message on prefix index (#46608)
close pingcap/tidb#44316
2023-11-30 03:40:18 +00:00
d3f399f25d *: fix data race of Column.GeneratedExpr (#48888)
close pingcap/tidb#44919, close pingcap/tidb#48191
2023-11-27 08:19:15 +00:00
7985dc4b46 expression: add method CanonicalHashCode to Expression to decouple it with stmtctx (#48666)
close pingcap/tidb#48665
2023-11-23 11:02:43 +00:00
707f860527 util/rowcodec,tablecodec: remove stmtctx dependency from rowcodec and tablecodec (#48816)
close pingcap/tidb#48751
2023-11-23 10:19:13 +00:00
b8515ae354 session: move session interface into new package (#48792)
ref pingcap/tidb#44940
2023-11-23 05:28:11 +00:00
9062834986 expression: add ctx to expression.Eval (#48609)
close pingcap/tidb#48608
2023-11-22 05:29:40 +00:00
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53:40 +00:00
10b3e6aa60 table: fix the iterator of multi-valued index (#48594)
close pingcap/tidb#48304
2023-11-15 02:47:16 +00:00
c1e28f31b7 ddl, table: improve the efficiency of adding index (#48184)
ref pingcap/tidb#47757
2023-11-02 14:35:09 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
fc6166e2c3 pkg/table,pkg/tablecodec: add OWNERS files (#47874)
close pingcap/tidb#47854
2023-11-01 10:59:07 +00:00
6d64b7e89a types, stmtctx, *: use ZeroDate, ZeroInDate and InvalidDate related flags to replace variable in statement context (#47794)
close pingcap/tidb#47507, close pingcap/tidb#47508
2023-10-27 10:44:05 +00:00
92749f73c8 types: more strict for types.StrictFlags (#47842)
close pingcap/tidb#47829
2023-10-20 09:39:40 +00:00
987663fff7 types: use flags in types package to handle clip zero case (#47543)
close pingcap/tidb#47518
2023-10-19 08:15:30 +00:00
90bd2dde4d stmtctx, *: change TypeCtx field to a private field (#47742)
close pingcap/tidb#47698, close pingcap/tidb#47752
2023-10-19 05:22:59 +00:00
3ef01b5882 types, *: move truncate flags to the types context (#47522)
close pingcap/tidb#47511
2023-10-18 05:15:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00