Commit Graph

690 Commits

Author SHA1 Message Date
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
724da32b12 tables: fix data race in mockStatRemoteData (#30180) 2021-11-29 11:59:53 +08:00
7f93b09efd table/tables: add StateRemote interface for the cached table (#29152) 2021-11-25 14:17:50 +08:00
9cd0b49f7f partition: Show partition reformat (#29945) 2021-11-25 04:21:50 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
9c683d3f67 dml : Support point get / batch point get for cache table (#29703) 2021-11-15 15:49:07 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
00d0f14242 table/tables: make CI stable for table/tables package (#29688)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-11 15:28:24 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
bbea5a794e dml : cache table reads data from the original table in a new transaction (#29575) 2021-11-09 16:47:06 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
a78e7fe572 *: insert/update or explain should not trigger table cache condition (#29477) 2021-11-08 12:35:03 +08:00
9bbc7ad74a dml : dml read operation for cache table (#29184) 2021-11-04 12:07:01 +08:00
cf21dea489 test: tests call collate.SetNewCollationEnabledForTest should run in serial (#29325) 2021-11-03 11:47:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
4879be763b infoschema: fix inserting into a temporary table panics after the database is dropped (#29263) 2021-11-01 14:40:51 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
fcf2178543 table: fix redundant and misleading conditions (#28228) 2021-10-13 12:15:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
f2cf4cc7ca table: check duplicate row_id in insert stmt (#27455) 2021-09-23 14:52:45 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
48c624b201 *: remove some unnecessary exported/interface functions (#28134) 2021-09-22 15:22:45 +08:00
cddb584acd *: Use snapshot interceptor to do temporary table's point_get/batch_point_get (#28143) 2021-09-20 17:24:44 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +08:00
2169483810 *: Provide TemporaryTableSnapshotInterceptor to read temporary table data (#28036) 2021-09-17 13:52:42 +08:00
33e989dd18 table/tables: migrate test-infra to testify for tables_test.go (#27902) 2021-09-17 11:02:42 +08:00
fc27ab259b ddl: fix the compatibility of dropping non-exist column (#27916) 2021-09-13 14:04:40 +08:00
0b1ef1198b table/tables: migrate test-infra to testify for partition_test.go (#27812) 2021-09-11 09:44:39 +08:00
dfd358a988 table/temptable: run tests in parallel (#27873) 2021-09-08 22:14:58 +08:00
2ae0bb73d7 *: Move some infoschema operations to temptable package (#27818) 2021-09-07 21:36:57 +08:00
28b6f52a8e table/tables: migrate test-infra to testify for index_test.go (#27557) 2021-09-06 22:40:57 +08:00
8125b0a3f3 *: Introduce TemporaryTableDDL to provide unified APIs for temporary table ddl operations (#27776) 2021-09-06 11:24:57 +08:00
777b40cb8c *: refactor Allocator.Rebase() interface (#27649) 2021-08-30 13:10:11 +08:00
b1f3974f10 *: refactor Allocator.Alloc() interface for separating auto IDs (#27616) 2021-08-28 15:32:05 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19:59 +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
0709307edb table: migrate test-infra to testify (#27086) 2021-08-16 18:23:59 +08:00
deb6dadc6c planner: encode min/max varchar correctly when pruning list-column partitions (#27052) 2021-08-10 16:17:15 +08:00
bb32631b6a Revert "ddl: fix create partition table error under NO_UNSIGNED_SUBTRACTION" (#26935) 2021-08-10 12:09:15 +08:00
3cda7d0a72 *: insert of invalid timestamp succeeded (#26584) 2021-08-05 18:03:12 +08:00
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
31403ad0a1 executor: fix unexpected behavior when casting invalid string to date (#26784) 2021-08-04 10:05:06 +08:00
12c606f4d4 *: improve 'insert into select' performance by optimize utf8 charset check (#26432) 2021-08-03 09:49:06 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
c0aaff5aa5 planner: fix the unstable unit test TestTableFromMeta (#26463) 2021-07-22 17:46:14 +08:00
39a4827fab tables: avoid delete the primary index when deleting clustered table row (#26459) 2021-07-22 15:12:13 +08:00