Commit Graph

667 Commits

Author SHA1 Message Date
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
6329c86533 ddl: fix cast date as timestamp will write invalid value (#26362) 2021-07-20 23:19:34 +08:00
d05b6f4c71 dml: fix index column offset beyond the range (#25699) 2021-07-15 17:29:33 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +08:00
5e75a1c7ee *: Rename variable GlobalTemporaryTables in TxnCtx to TemporaryTables (#26028) 2021-07-08 13:01:29 +08:00
3132b59402 table: improve error message for incorrect utf8 value (#25087) 2021-06-21 15:48:53 +08:00
9c947dffe4 ddl: fix create partition table error under NO_UNSIGNED_SUBTRACTION (#25435) 2021-06-18 11:50:38 +08:00
2653b128ed planner: forbid BatchPointGet on tables partitioned by compound expressions (#25538) 2021-06-18 11:02:38 +08:00
abe6896441 ddl: fix the data and indexes inconsistency during ctc (#25323) 2021-06-10 17:36:30 +08:00
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +08:00
95e9ea82ac table: remove reading from non-specificed partitions in IODKU (#24872) 2021-05-26 10:59:34 +08:00
ced56153b8 executor,table: fix 'show create table' for the temporary table (#24857) 2021-05-25 20:33:34 +08:00
d5f01e1477 kv: extract subset of tikv.KeyFlags (#24739) 2021-05-25 12:35:33 +08:00
163eb5f03c planner: Implement PointGet in TryFastPlan for range/list paritition table (#24588)
* implement PointGet in TryFastPlan for range/list partition
2021-05-22 01:23:53 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
f2c2fbda47 binlog: DML on temporary tables do not write binlog (#24570) 2021-05-13 14:13:39 +08:00
771255e010 executor, meta: Allocate auto id for global temporary tables (#24506) 2021-05-12 23:45:40 +08:00
9fe539c5a1 ddl: fix alter int to bit will panic in backfill index (#24263) 2021-05-07 17:48:42 +08:00
6ef4815d28 *: support clustered index table produce binlog (#24135) 2021-05-06 18:59:53 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
5800336b52 executor, table: improve update ignore & Insert on duplicate ignore performance (#24203) 2021-04-25 23:01:55 +08:00
d388538719 *: turn on unused linter (#24212) 2021-04-23 13:19:54 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00