Commit Graph

226 Commits

Author SHA1 Message Date
c6e1982fb2 sessionctx: enable clustered index by default (#38447) 2022-11-04 10:06:03 +08:00
9743a9a2d2 txn: add table name in dup entry error message (#38243)
Signed-off-by: ekexium <eke@fastmail.com>
2022-10-19 14:14:55 +08:00
e68227ca10 planner: add warning if fallback to static plan from dynamic (#37767) 2022-09-13 13:16:58 +08:00
7eb7ca902a planner: fallback to static plan for partition table if having no global stats in dynamic prune mode (#37573)
ref pingcap/tidb#37535
2022-09-08 09:20:57 +08:00
6418350e97 executor,expression: avoid to append nil to warnings (#36304)
close pingcap/tidb#31569
2022-08-05 17:00:06 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
6b83cdbea2 executor: handle NULL values properly when LOAD DATA INFILE (#36124)
close pingcap/tidb#34358
2022-07-29 13:03:12 +08:00
bce6901705 planner: forbid load data with empty field terminator (#36500)
close pingcap/tidb#33298
2022-07-28 23:39:11 +08:00
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
4c443d5d24 executor: close RecordSet in the ddl_test and write_test (#35373)
ref pingcap/tidb#31716
2022-06-14 20:48:33 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
1c658e5eb6 executor: migrate test-infra to testify for executor_test.testSuite(6|8) (#33713)
close pingcap/tidb#33433, close pingcap/tidb#33434
2022-04-06 11:34:31 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
d1bf078a58 executor: migrate test-infra to testify for infoschema_reader_test.go (#32688)
close pingcap/tidb#28587
2022-03-01 16:31:45 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
65365628b7 executor: fix load data panic if the data is broken at escape character (#30868)
close pingcap/tidb#31589
2022-01-18 17:53:44 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
50704075af *: insert set default timestamp failed (#29966)
close pingcap/tidb#29926
2022-01-18 03:43:44 +08:00
9063d3b837 table: set the datum collation correctly in CastValue() (#30931)
close pingcap/tidb#30930
2021-12-22 16:05:47 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
80d18b6efb load data: fix bug if load data with long content (#29222) 2021-12-01 16:25:54 +08:00
bba5fee1e6 executor: migrate test-infra to testify for executor/write_test.go (#29953) 2021-11-23 16:33:51 +08:00
958ab48fa0 *: set global temporary table as GA (#28525) 2021-10-14 11:27:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
156b438200 executor: Add tests for tidb_constraint_check_in_place for local temporary table (#27271) 2021-08-17 20:34: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
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +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
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
49f614e05f executor: add a test case for 'tidb_constraint_check_in_place' on temporary table (#24784) 2021-05-22 02:58:21 +08:00
ae36fbdb31 tablecodec: fix write wrong prefix index value when collation is ascii_bin/latin1_bin (#24578) 2021-05-17 14:35:39 +08:00
e92df204b5 planner: fix wrongly check for update statement (#24614) 2021-05-14 19:09:38 +08:00
34b78579c7 executor: skip ignore check for not update indexes (#23894) 2021-04-12 21:21:51 +08:00
096281ec2f executor: fix 2nd index dup check after insert ignore on dup update primary (#23814) 2021-04-02 14:05:24 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
aa82a038f1 types: fix the bug about the wrong query result for decimal type (#22507) 2021-03-09 15:54:55 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
9768e45476 session: add a test case for issue 19127 (#21010) 2021-03-04 11:50:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
10e5a34be8 execution: fix index's duplicate error message (#22858) 2021-03-02 10:56:53 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
558d5610ce executor: fix load-data result when field term be the prefix of line term (#22585)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-28 17:46:00 +08:00
fdd
2364fec8f0 executor: fix load data in file get wrong result #20854 (#21895) 2021-01-21 21:53:29 +08:00
ca93c7fc16 types: convert string to MySQL BIT correctly (#21310) 2021-01-18 12:17:58 +08:00
f2a68ee28a executor: fix update ignore into not exists partition (#21984) 2020-12-30 16:44:13 +08:00