9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
6afbfa2ffc
executor: close result ( #36424 )
2022-07-21 17:47:09 +08:00
0d5ac6f3cb
sysvar, config: mapping config settings to system variables. ( #33279 )
...
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
3c64d10b7e
executor: migrate test-infra to testify for statement_context_test.go ( #32486 )
...
close pingcap/tidb#28619
2022-02-21 18:45:42 +08:00
a0e31aa987
*: fix data race in the CheckMb4ValueInUTF8 ( #31781 )
...
close pingcap/tidb#31780
2022-01-19 17:33:45 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +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
773b29102d
charset: add missing ascii check( #18193 )
2020-06-27 15:34:26 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
dcbb5a162a
table: format table error code and error message ( #13233 )
2019-12-03 19:59:39 +08:00
5a00578e27
executor: fix data race in TestStatementContext ( #13169 )
2019-11-07 15:25:47 +08:00
9ed376ada2
util/admin: support admin check table on partition table ( #12796 )
2019-10-29 20:16:37 +08:00
c451f00814
*: fix utf8 charset upgrade compatibility ( #9820 )
2019-03-25 18:06:32 +08:00
c83a0ceb95
config: add a config item to control whether TiDB check the mb4 character in utf8 ( #9175 )
2019-01-25 14:39:30 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
1c4d2d9890
table: check non-BMP characters and return error when the charset is utf8 and sql mode is strict mode ( #8738 )
2018-12-19 17:52:47 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
6e7d75299d
test: refine test ( #7414 )
2018-08-16 17:05:59 +08:00
eaef520634
types,executor: treat decimal truncate as warning in update ( #5801 )
2018-02-08 15:55:52 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
6f9457e373
executor: use tearDownTest instead of defer ( #4499 )
2017-09-12 01:02:41 -05:00
b4f20e6f0b
util/testkit: refine testkit ( #3177 )
2017-04-29 23:20:49 +08:00
9cb61b047d
column: fix false negative utf8 check ( #2979 )
...
unicode 'u\fffd' is used to represent utf8 error when range a string, but itself is a valid utf8 character.
2017-03-31 21:31:42 +08:00
7aa024c9a0
*: add UTF8 check global variable. ( #2899 )
2017-03-23 08:56:21 +08:00
d85a4cb1c8
table/column: disable utf8 check. ( #2895 )
...
When old row has invalid utf8 value and the data doesn't change, we should not fail to update.
So temporarily disable utf8 check until we can handle this problem.
* *: change log level
* *: do not truncate
2017-03-20 17:24:59 +08:00
cca10bab58
table: check and truncate UTF8 string in CastValue. ( #2819 )
2017-03-15 11:26:19 +08:00
79be7364a9
*: fix reset stmt ctx when there are multiple statements ( #2613 )
2017-02-08 21:13:22 +08:00
1b8051d3c5
*: set and use Flags to properly handle truncate error ( #2212 )
2016-12-12 11:45:58 +08:00
6ef340fb32
util/types: properly handle truncate error for string to float or int. ( #2186 )
...
When converting from string to float or int, use StatementContext to handle truncate error.
Also directly convert a string to Int instead converting to float first, then convert float to int.
2016-12-07 19:42:46 +08:00
e288b3563f
types/util: use statement context to handle truncate error. ( #2147 )
...
use statement context to handle truncate error in ConvertTo MyDecimal.
2016-12-01 19:11:07 +08:00