Commit Graph

383 Commits

Author SHA1 Message Date
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
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
17a65ab98b statistics: refactor the statistics package use the RestrictedSQLExecutor API (#22636) 2021-02-03 13:28:57 +08:00
ca93c7fc16 types: convert string to MySQL BIT correctly (#21310) 2021-01-18 12:17:58 +08:00
d1d5cc433e time: fix parse datetime won't truncate the reluctant string (#22232) 2021-01-07 14:52:16 +08:00
c7165bc518 executor, planner: ON DUPLICATE UPDATE can refer to un-project col (#14412)
Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-06 19:03:51 +08:00
51794e9d30 *: rewrite origin SQL with default DB for SQL bindings (#21275) 2021-01-06 16:28:29 +08:00
7c81719568 types: refine JSON conversion, throw err when object/array convert to integer/float/decimal (#21826) 2021-01-04 18:48:23 +08:00
b112c3c9a3 types: Add a limitation about float data type (#20929) 2020-12-23 16:47:59 +08:00
0370fbf6a3 types: Regard TypeNewDecimal as not a hasVariantFieldLength type. (#21849) 2020-12-23 12:59:48 +08:00
dd0dc46d5e expression: fix type infer for tidb's builtin compare(least and greatest) (#21150)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-12-22 14:58:31 +08:00
b232a23e7a expression, types: fix datetime and year comparison error (#20233) 2020-12-18 17:19:30 +08:00
25a94e5f2c expression:truncate decimal value instead of return error (#21691) 2020-12-18 13:46:05 +08:00
b25f62dce6 expression: fix compatibility behaviors in time_format with MySQL (#21559) 2020-12-17 15:16:57 +08:00
608cc51d27 types: report error for json object with key length >= 65536 (#21779) 2020-12-16 16:53:35 +08:00