Commit Graph

15868 Commits

Author SHA1 Message Date
6dcbafbde8 *: remove old placement code for exchange partition (#29649)
* *: remove old placement code for exchange partition

* modify some name

* fix bug

* add some comments

Co-authored-by: Arenatlx <314806019@qq.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-11 18:59:00 +08:00
77f01c389e BR: Git action improvement (#29623) 2021-11-11 18:45:06 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
1d179552f4 mockstore: set FieldType.charset in coprocessor (#29646) 2021-11-11 17:53:06 +08:00
6de97932ea makefile: fix upload-coverage (#29591) 2021-11-11 17:35:06 +08:00
a237e41d9f ddl : support alter table xx nocache operations switch a table into uncacheable (#29621) 2021-11-11 17:19:06 +08:00
184c3e3649 expression: migrate test-infra to testify for typeinfer_test.go (#29613) 2021-11-11 16:59:05 +08:00
f071f8bc00 br: fix check sum time inaccurate in restore log (#29420) 2021-11-11 16:45:05 +08:00
c809c48a43 executor: migrate test infra to testify for concurrent_map_test.go and collation_test.go (#29553) 2021-11-11 16:21:05 +08:00
93451798a0 domain: fix bug that after 'skip-grant-table', set password doesn't take effect immediately (#29668) 2021-11-11 15:43: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
2a89d126bc variable: make the default value of wait_timeout the same as MySQL (#29569) 2021-11-11 14:41:05 +08:00
26c7dcfc44 statistics: migrate test-infra to testify for statistics/handle/dump_test.go (#29627) 2021-11-11 13:49:06 +08:00
2bdebedfc0 executor: migrate utils_test.go to testify (#28941) 2021-11-11 13:31:05 +08:00
8e2f1c765c planner: migrate indexmerge_test to testify (#29337) 2021-11-11 13:19:06 +08:00
9f69dab5d5 *: fix wrong flen of table information_schema.placement_rules (#29583) 2021-11-11 13:03:05 +08:00
25d698c797 test: improve test by checking gc_delete_range instead of scanning keys (#29651) 2021-11-11 11:59:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
17edc5758f parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361) 2021-11-10 18:17:05 +08:00
4cee7a358b statistics: remove redundant assignment for statistics.Column.Count (#27773) 2021-11-10 17:25:06 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
92de9c0466 *: remove old placement code for truncate partition (#29619) 2021-11-10 16:51:05 +08:00
99ab8bf16f br: Create grpc.connection with block mode (#29601) 2021-11-10 12:17:05 +08:00
82f2bccf03 planner: eliminate empty projection below aggregation (#29606) 2021-11-10 11:55:05 +08:00
898ef6e6ed executor: fix show grants failed after drop granted role (#29494) 2021-11-10 11:17:05 +08:00
96a9ce1b14 lightning: do not shadow checksum error (#29626) 2021-11-10 11:07:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
4c929c5b04 *: remove old placement code for truncate table (#29596) 2021-11-09 20:03:06 +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
6ed0134902 statistics: pseudo table should not contain the hidden columns (#29584) 2021-11-09 16:27:05 +08:00
a6c2c4316a br: fix-panic, call close(chan) before waitgroup.done() (#29491) 2021-11-09 14:19:05 +08:00
ffd6ee6583 pkg/lightning: reduce cpu&memory usage when duplicate-resolution is enabled (#29555)
* bug fix

* set default resolution algorithm to 'none'

* remove switchToNormalMode

* Update br/pkg/lightning/restore/table_restore.go

Co-authored-by: glorv <glorvs@163.com>

Co-authored-by: glorv <glorvs@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-09 13:58:03 +08:00
c4549eaedc br: Git Action triggered only by merge action (#29533) 2021-11-09 13:01:05 +08:00
7227ef87da planner: fix the issue that set wrong length and width for Decimal and Real when using plan-cache (#29579) 2021-11-09 10:47:04 +08:00
7feb0e667b planner: fix create binding panic when status.record-db-qp enable (#29519) 2021-11-08 21:11:04 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
5d9eb5b123 planner: fix the wrong access conditions for indexScan (#29558) 2021-11-08 17:51:04 +08:00
a14ad60987 expression: support GBK for builtin function SHA1/SHA2 (#29544) 2021-11-08 17:07:05 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
e98d587577 ddl: make CI TestDropSchemaWithPartitionTable stable (#29499) 2021-11-08 14:05:04 +08:00
a78e7fe572 *: insert/update or explain should not trigger table cache condition (#29477) 2021-11-08 12:35:03 +08:00
74eaa060fc docs: add the design of table attributes (#28971) 2021-11-08 12:05:03 +08:00
cbc9b4357f dumpling : add err message for dumpling (#29118) 2021-11-08 11:53:04 +08:00
f3c9d963b8 ddl_test: amend the test name to the distinguished one (#29540) 2021-11-08 11:37:03 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
4df2c21a94 *: TIDB_DECODE_KEY(): Decode keys which only have a TableID (#29522) 2021-11-08 00:19:04 +08:00
883b79c29e statistics: migrate test-infra to testify for statistics/handle/ddl_test.go (#29284) 2021-11-07 18:29:03 +08:00
f9730b698b expression: set maxScale for type Decimal if the scale is NotFixScale (#29521) 2021-11-07 17:15:04 +08:00
3537d7e5af lightning,dumpling: make tidb version check more compitible (#29500) 2021-11-07 16:55:04 +08:00