Commit Graph

4273 Commits

Author SHA1 Message Date
019ab3e751 planner: add more test cases for plan cache (#28840) 2021-10-25 17:23:41 +08:00
e08df49a0d collation: support gbk_chinese_ci collation and make it as default collation for gbk (#28645) 2021-10-25 11:34:48 +08:00
36e694bfc5 br: Add encrypt/decrypt feature for br (#28200) 2021-10-25 10:44:48 +08:00
42b0bec86d sessionctx/variable, executor: introduce a limit on "thread" config (#28842) 2021-10-22 11:42:46 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
98c7bbd368 *: support show column_stats_usage (#28428) 2021-10-21 18:34:46 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
6d24f8cf4b planner: add an extra safe-guard selection upon DataSource to prevent wrong results caused by wrong rebuilt range when using plan-cache (#28976) 2021-10-21 04:12:45 +08:00
cd431a8164 executor,binlog: fix binlog column mismatch for pessmistic transaction on partition table (#28669) 2021-10-20 18:34:42 +08:00
85437b3f61 *: sort-statement-order (#28968) 2021-10-20 14:12:42 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
466e826a7e executor: Use charset and collation from server vars for new schemas (#27216) 2021-10-19 22:22:42 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
d192d17ac6 planner: fix the issue that plan-cache may return wrong results when the IndexLookup depends on a generated column (#28938) 2021-10-19 20:40:43 +08:00
a171a9da94 executor/aggfuncs: refactor: migrate test-infra to testify for func_percentile_test.go, func_sum_test.go (#28891) 2021-10-19 12:40:42 +08:00
555907823d executor: support GRANT/REVOKE ON non-existent table (#28882) 2021-10-19 11:40:42 +08:00
502f34f975 *: fix Makefile for bench-daily (#28868) 2021-10-19 10:38:42 +08:00
84ec6634c4 executor: add placement policy name / direct placement to is.tables/partitions (#28798) 2021-10-19 00:32:42 +08:00
ed7bebded9 infoschema: remove is.placement_policy (#28890) (#28896) 2021-10-18 23:10:43 +08:00
46b87acf2e ddl: support all engine for temporary tables (#28815) 2021-10-18 19:54:42 +08:00
ab0d231d9e session: add system table mysql.column_stats_usage (#27849) 2021-10-18 19:24:43 +08:00
964273677d executor/aggfuncs: refactor: migrate test-infra to testify for func_max_min_test.go (#28695) 2021-10-18 11:48:41 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
81169b55f4 planner: support rebuild the range of indexMerge when reuse the plan (#28774) 2021-10-15 15:19:26 +08:00
06cfd000cb *: support show tiflash config (#28838) 2021-10-15 14:47:27 +08:00
a0e835cb35 *: Add SHOW PLACEMENT support for partitions (#28830) 2021-10-15 12:43:26 +08:00
9eb58c0f90 *: fix typo and address unfinished comment for plan recreator (#28821) 2021-10-15 11:33:26 +08:00
81c3013f25 *: Implementing information_schema.placement_rules (#27478) 2021-10-15 08:49:26 +08:00
#7
e717f10282 executor: hostnames for users should be stored in lowercase (#28741) 2021-10-14 22:01:26 +08:00
a94150a338 *: support select for update of tables (#27861) 2021-10-14 19:17:26 +08:00
66948b2fd9 infoschema: set TABLES.TABLE_COLLATION null (#28807) 2021-10-14 17:43:27 +08:00
6c109c91f7 planner: forbid constant fold when plan cache enable (#28790) 2021-10-14 17:33:27 +08:00
092544cd1d distsql: add distsql package benchmark to daiy bench test (#28724) 2021-10-14 17:09:27 +08:00
e30392c40c executor, planner: add SHOW CREATE PLACEMENT POLICY (#28797) 2021-10-14 16:27:27 +08:00
958ab48fa0 *: set global temporary table as GA (#28525) 2021-10-14 11:27:26 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +08:00
e6c600ad16 *: always convert sysvar values when out of range (#25686) 2021-10-13 10:37:27 +08:00
d53f9f55a0 executor,distsql: fix analyze version 2 memory leak (#28729) 2021-10-12 19:49:26 +08:00
4c4d3f6daa planner: generate the additional filter in table filter when enable plan cache (#28722) 2021-10-12 17:01:26 +08:00
d5bd9f030b *: record result_rows in statements_summary and slow log (#28479) 2021-10-12 16:51:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
62bc4d5b54 cmd, server: support system variable character_set_results (#27875) 2021-10-11 16:17:25 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
501e87ec44 planner: fix the issue that some PointGet plans generated in physical-stage cannot be cached (#28478) 2021-10-09 17:33:24 +08:00
1555ebd1bc *: Forbid tablesample for local temporary table (#28672) 2021-10-09 15:19:23 +08:00
417c7358ef session: fix set session variable make tidb_snapshot unwork (#28677) 2021-10-09 14:43:23 +08:00
592469352e ddl: Support ALTER DATABASE Placement Policy/ DirectOptions (#27894) 2021-10-09 14:25:25 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
b63bc2bce4 ddl: implement the placement rules inheritance logic (#28365) 2021-10-08 17:21:24 +08:00