Commit Graph

413 Commits

Author SHA1 Message Date
4c49e5204f types: migrate test-infra to testify for set_test.go (#27709) 2021-09-02 20:50:14 +08:00
aebe657cd8 *: add charset information into field type (#27644) 2021-08-30 17:34:12 +08:00
9fb775a360 types/json: fix comment error to ignore goword error (#27621) 2021-08-27 08:36:04 +08:00
a84ceb801f expression: fix extract bug when argument is a negative duration (#27318) 2021-08-19 13:28:00 +08:00
ead31402bc *: resolve select fields properly for coalesced columns of natural join (#25094) 2021-08-17 16:18:00 +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
36ed0936a6 expression: Improve the performance of str_to_date (#25389) 2021-08-16 12:59:59 +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
853c41e3fb executor: add builtin aggregate function json_arrayagg (#19957) 2021-08-04 16:15:07 +08:00
6a84ce3a86 types: fix CAST('2.0.8 X' AS DATE) (#26259) 2021-08-03 16:09:07 +08:00
d7bddb8ba4 parser: update dependency to latest (#26783) 2021-08-02 17:33:09 +08:00
3642e87687 types/driver: migrate test-infra to testify (#26522) 2021-07-27 19:28:17 +08:00
e606342fbb types/json: migrate test-infra to testify (#26375) 2021-07-21 13:07:35 +08:00
6329c86533 ddl: fix cast date as timestamp will write invalid value (#26362) 2021-07-20 23:19:34 +08:00
f3c5c1ec90 expression: fix incompatible timestamp conversion between mysql and tidb (#25612) 2021-07-14 15:59:33 +08:00
a3919e3af3 ddl, meta: support altering auto_increment ID to a smaller value (#25868) 2021-07-13 17:39:33 +08:00
372c529c16 expression: add builtin function `json_merge_patch` (#24711) 2021-07-10 13:13:31 +08:00
c6680e999b *: update client-go and update mocktikv usages (#25911) 2021-07-09 10:57:32 +08:00
eedb191da4 Revert "expression: Fix greatest and least function lost decimal precision compared with MySQL" (#26046) 2021-07-09 10:45:30 +08:00
f42581101b types: modify MyDecimal.ToFloat64 threshold (#26034) 2021-07-08 17:31:29 +08:00
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
0a1875e883 parser,planner: fix the compatiblity of explain_format (#25978) 2021-07-07 15:47:29 +08:00
3c3096e8c0 expression: Fix greatest and least function lost decimal precision compared with MySQL (#25766) 2021-07-07 15:29:29 +08:00
985d42c343 types: fix json_unquote (#25875) 2021-07-06 16:13:28 +08:00
cb06e116c1 *: update the golangci-lint and fix all lint errors (#25912) 2021-07-05 13:43:27 +08:00
8434069c5f expression: Improve the compatibility of str_to_date (#25386) 2021-06-25 19:27:23 +08:00
a6f52fb450 types: warning information is inconsistent with MySQL when convert string to double/float (#24889) 2021-06-21 11:06:52 +08:00
9a3ed706cc ddl: fix cast datetime timestamp under column type change (#25560) 2021-06-18 16:32:38 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
3910f383ce types: optimize MyDecimal.ToFloat64 (#25229) 2021-06-11 14:36:35 +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
d5a0e6a1d3 *: fix errcheck (#24463) 2021-05-13 11:31:39 +08:00
b0dfa746bf *: fix gosimple check (#24460) 2021-05-10 12:56:43 +08:00
d168fc4e60 infosync, types: Truncate float for TiFlash replica progress (#24299) 2021-04-27 19:19:56 +08:00
2c67a8011c expression: fix wrong flen infer for bit constant (#23867) 2021-04-25 16:23:55 +08:00
xhe
2852b31fef types: make golangci-lint happy (#24037) 2021-04-15 22:33:52 +08:00
a9a5795759 types: fix type merge about bit type (#23857) 2021-04-14 19:51:51 +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
cc0eb408f8 ddl: fix update can see columns not public (#22307) 2021-04-07 13:00:32 +08:00
6a0cd8e093 types/json: replace binary.Read with binary.BigEndian.Uint16 (#23845) 2021-04-06 10:35:24 +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
1e3921aff5 chore: Refactor code quality issues (#23445) 2021-03-27 15:51:23 +08:00
c9e041ee6c types: fix collation for binary literal (#23591) 2021-03-26 20:39:23 +08:00
60460be42f *: unify NeedRestoredData and CommonHandleNeedRestoredData (#23266) 2021-03-19 19:51:36 +08:00
2890a8f62c executor: fix get var expr when session var is hex literal (#23241) 2021-03-17 15:02:55 +08:00