Commit Graph

16 Commits

Author SHA1 Message Date
661f6d61ae json: don't resize slice to get extra zero when the length is unspecified (#51586)
close pingcap/tidb#51547
2024-03-12 10:48:39 +00:00
c47f4c9146 expression: wrap some read action in EvalContext to functions (#50530)
ref pingcap/tidb#49090
2024-01-22 06:52:49 +00:00
531a1ce920 stmtctx: remove OverflowAsWarning flag (#49122)
close pingcap/tidb#49137, close pingcap/tidb#49143
2023-12-14 16:51:19 +00:00
e14f66f286 expression: introduce EvalContext to evaluate expression (#49416)
close pingcap/tidb#49415
2023-12-13 12:12:27 +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
9d07f83132 expression: add ctx to all eval methods of builtinFunc (#48331)
close pingcap/tidb#48338
2023-11-07 10:29:18 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +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
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
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