Commit Graph

31 Commits

Author SHA1 Message Date
29e36ea7e3 store/mockstore: Use Expression.Eval to replace EvalWithInnerCtx for mockstore (#48771)
close pingcap/tidb#48770
2023-11-24 15:46:13 +00:00
8243680d8a planner: avoid to use ScalarFunction.GetCtx in some planner codes (#48794)
close pingcap/tidb#48793
2023-11-24 05:47:44 +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
f8fae6ecdc expression: remove call of EvalWithInnerCtx in method Constant.HashCode (#48791)
close pingcap/tidb#48790
2023-11-23 03:40:18 +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
2f2f916926 expression: always use the ctx in parameter for method Equal in all expressions (#48596)
close pingcap/tidb#48595
2023-11-17 05:09:47 +00:00
ab354f3e5c tests: move more tests to integration test (#48647)
ref pingcap/tidb#45961
2023-11-17 03:42:47 +00:00
446232fed0 expression, types: fix the logic of converting duration to year (#48565)
close pingcap/tidb#48557
2023-11-15 12:30:46 +00:00
db2e239496 types: remove param explicitTz from types.ParseTime (#48574)
close pingcap/tidb#48573
2023-11-15 08:08:17 +00:00
625dc4e3cd expression: use parameter ctx to do evaluate instead of the inner one for all builtinFuncs (#48409)
close pingcap/tidb#48408
2023-11-14 12:38:16 +00:00
5b05c0dba8 tests: update mysql-tester commit (#48462) 2023-11-10 03:26:13 +00:00
184aa7e3c3 planner: fix the issue that plan cache may return wrong result when comparing datetime column with unix_timestamp (#48413)
close pingcap/tidb#48165
2023-11-08 16:41:12 +00:00
7cb7af7179 expression: fix the return type of coalesce when arg type is DATE (#48032)
close pingcap/tidb#46475
2023-11-08 09:44:13 +00:00
2285057c95 expression: Add json_array push down support for tiflash (#48349)
close pingcap/tidb#48350
2023-11-08 08:50:28 +00:00
9d07f83132 expression: add ctx to all eval methods of builtinFunc (#48331)
close pingcap/tidb#48338
2023-11-07 10:29:18 +00:00
0d9a4ce8b8 *: update linter (#48252)
ref pingcap/tidb#40786
2023-11-06 07:18:41 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
89945f56bd planner: fix the issue where TiDB generates multiple plandigests for 'IN (...)'. (#47216)
close pingcap/tidb#33559
2023-11-01 07:47:09 +00:00
fab7825845 *: remove pkg/errors (#48081) 2023-10-31 03:15:37 +00:00
5503eb517f types: always handle overflow error outside the types package (#47997)
close pingcap/tidb#47517
2023-10-30 07:05:06 +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
3a3a7d1c3c enhancement: Modify the BuildLogicalPlanForTest function (#47988)
close pingcap/tidb#47974
2023-10-26 00:57:34 +00:00
97310ad5db types: fix issue that we can insert negative value to unsinged float column sometimes (#47946)
close pingcap/tidb#47945
2023-10-25 10:15:33 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +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
204d780068 planner, util: move FastIntSet to util (#47723) 2023-10-17 18:12:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00