Commit Graph

158 Commits

Author SHA1 Message Date
4db4197505 datum: json is not equal with NULL (#37866)
close pingcap/tidb#37852
2022-09-16 10:30:59 +08:00
cdcbfc838a executor: implement json time/duration (#37579)
close pingcap/tidb#9988, close pingcap/tidb#31104
2022-09-08 17:42:55 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
c90ee302cd expression: parse the value if convert enum/set to json (#37402)
close pingcap/tidb#25329
2022-09-01 14:50:24 +08:00
25dda978ff types: fix a bug in casting str2str when union (#37242)
close pingcap/tidb#31678
2022-08-24 18:26:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
d10d254572 util: let TypeFloat should be decoded as Float32 in Chunk (#35978)
close pingcap/tidb#35910
2022-07-11 18:57:05 +08:00
e99d82a9b4 *: fix issue of cast string as time is incompatible with MySQL (#35455)
close pingcap/tidb#34539
2022-06-23 13:50:37 +08:00
9a77892ac8 execution: avoid decimal overflow and check valid (#34399)
close pingcap/tidb#30347, close pingcap/tidb#34388
2022-06-17 21:42:36 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
c917cd3d3d charest: add all mysql character information in parser (#34210)
close pingcap/tidb#31598
2022-04-26 10:54:51 +08:00
0beac1800c expression: fix the wrong rounding behavior of Decimal (#33278)
close pingcap/tidb#32213
2022-04-02 14:32:29 +08:00
f012766b53 executor: raise error when text data is too long (#33345) 2022-03-26 15:04:33 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
8aaec2d32e types: return maxUint32 - 1 when overflow in convertToUint func (#29351)
close pingcap/tidb#29330
2022-01-26 15:18:45 +08:00
946fa58418 server, types: rule out JSON types from new charset framework (#31388)
close pingcap/tidb#31366
2022-01-10 15:29:41 +08:00
676a56df27 ddl, types: convert the binary default value to proper encoding (#31196)
close pingcap/tidb#30798
2021-12-31 15:15:51 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
bfd4da29ed types: BIT to CHAR conversion should change to uint first (#31126)
close pingcap/tidb#31124
2021-12-29 21:15:49 +08:00
321d307f3b types, util: clean up compareDatum (#30815) 2021-12-17 14:22:36 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
94be83bfa6 *: replace compareDatum by compare and fix wrong optimize order by (#30273) 2021-12-01 19:01:53 +08:00
0b2d9d108f types: check values equals to NaN or Inf when convert to float (#30148) 2021-11-30 18:09:54 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
51f53f3376 insert: fix the auto id retry won't cast the datum to origin type (#29997) 2021-11-22 23:39:49 +08:00
2bf67ff18e executor, types: refactor CompareDatum (#29866) 2021-11-22 23:23:50 +08:00
d711f18e0d types/datum.go: casting zero to enum should not change value (#29759) 2021-11-22 18:29:49 +08:00
02a8f04531 types: fix return err when decimal from string value (#22407) 2021-11-22 18:15:49 +08:00
8368eeed24 *: remove useless parameter (#29392) 2021-11-04 12:39:02 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
f44d2cb9f7 types: distinguish between string and non-string in execute statement arguments (#28061) 2021-10-08 15:05:24 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
3cda7d0a72 *: insert of invalid timestamp succeeded (#26584) 2021-08-05 18:03:12 +08:00
39aae6a455 types: support valid unsigned integers convert to time (#26895) 2021-08-05 09:59:07 +08:00
6329c86533 ddl: fix cast date as timestamp will write invalid value (#26362) 2021-07-20 23:19:34 +08:00
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
9a3ed706cc ddl: fix cast datetime timestamp under column type change (#25560) 2021-06-18 16:32:38 +08:00
2017d2fd68 types: fix wrong truncated val for bit type (#25198) 2021-06-07 15:40:29 +08:00
2f44a71110 cast: fix cast bit to binary and varbinary (#25064) 2021-06-04 18:02:28 +08:00
88928adb0f ddl, types: fix int to datetime conversion to avoid useless retry (#24874) 2021-05-26 15:15:36 +08:00
670b5fbcf5 ranger: fix the range construction behavior when the column's type is YEAR (#23559) 2021-04-14 16:03:52 +08:00
af09828059 planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly 2021-04-08 11:16:43 +08:00
a234ce62ff planner, type: remove the prefix 0 in the bit array when we get the BinaryLiteral (#23523) 2021-03-30 12:01:24 +08:00