Commit Graph

397 Commits

Author SHA1 Message Date
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
2bea06ed23 util, types: don't let SPM be affected by charset (#23161) 2021-03-12 22:39:10 +08:00
7ea78e772e types: fix clustered keyword regexp (#23264) 2021-03-12 08:02:54 +08:00
bc572f3b19 types: fix clustered keyword to hint regexp (#23247) 2021-03-11 15:54:54 +08:00
c1b8347425 statistics: add a test case which builds global-stats on different versions of partition-stats (#23231) 2021-03-11 14:14:58 +08:00
aa82a038f1 types: fix the bug about the wrong query result for decimal type (#22507) 2021-03-09 15:54:55 +08:00
4218f2836b expression: fix wrong error info (#22760) 2021-03-07 19:40:34 +08:00
e83a8f6563 executor: fix unexpected NotNullFlag in case when expr ret type (#23102) 2021-03-05 16:44:55 +08:00
db62e341fd executor: fix wrong key range of index scan when filter is comparing year column with NULL (#23079) 2021-03-04 16:04:54 +08:00
953de47119 types: fix err check (#23008) 2021-03-04 10:34:54 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
550ca8eaeb statistics: enables global-level stats to be generated in fast analyze mode (#22931) 2021-03-01 16:40:50 +08:00
31c13d6e38 expression: fix bugs in builtinfunction ArithmeticMinusInt logic (#22426) 2021-02-26 13:00:54 +08:00
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
a3a4a6c4da executor: add new format specifier(%# %@ %.) for str_to_date expression (#22790) 2021-02-19 14:57:27 +08:00