Commit Graph

4406 Commits

Author SHA1 Message Date
cf12389be1 executor: fix data race with RandSeed (#29965) 2021-11-22 11:37:49 +08:00
e448d93cb9 executor: migrate test-infra to testify for aggregate_test.go (#29903) 2021-11-20 12:25:48 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
db
177be48e94 executor: add retriver for tidb_hot_regions_history (#27375) 2021-11-19 16:43:48 +08:00
9843ff96e5 executor: fix drop role failed after revoke role from current user (#29814) 2021-11-19 15:23:48 +08:00
951f6cf774 *: use testkit/testdata instead of util/testutil (#29906) 2021-11-19 12:55:47 +08:00
62b07a6c92 *: migrate test-infra to testify for executor/prepared_test.go (#29861) 2021-11-18 15:05:47 +08:00
924f963e69 executor: call cancel when closing IndexLookUpExecutor (#29894) 2021-11-18 14:45:47 +08:00
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
eaa03e5eab executor: view definer is incorrect (#29854) 2021-11-17 23:51:47 +08:00
276721877c planner: generate PointGet plans for PlanCache when all conditions are EQ (#29859) 2021-11-17 16:53:47 +08:00
20b9a4d8ca executor: index out of range for lookUpContents (#27138) (#29456) 2021-11-17 16:41:46 +08:00
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
fb01f00d44 executor/aggfuncs: migrate test-infra to testify (#29764) 2021-11-15 20:01:08 +08:00
9c683d3f67 dml : Support point get / batch point get for cache table (#29703) 2021-11-15 15:49:07 +08:00
64681ddaed executor/aggfuncs: migrate test-infra to testify for func_count_test.go, func_group_concat_test.go, func_stddevpop_test.go, func_stddevsamp_test.go, and func_varsamp_test.go (#29529) 2021-11-15 12:29:06 +08:00
#7
8f7ed14050 executor: fix drop role not work as expected in the show result. (#29667) 2021-11-15 09:41:06 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
9b71e469e3 executor: migrate test-infra to testify for admin_test.go (#29352) 2021-11-12 23:07:07 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
e27af5e04f *: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. (#29593) 2021-11-12 13:19:06 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
1eec13120d planner: lazy the subquery-more-than-1-row error after the insert duplicate is actually triggered (#29270) 2021-11-12 01:43:05 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23: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
2bdebedfc0 executor: migrate utils_test.go to testify (#28941) 2021-11-11 13:31:05 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
898ef6e6ed executor: fix show grants failed after drop granted role (#29494) 2021-11-10 11:17:05 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
7feb0e667b planner: fix create binding panic when status.record-db-qp enable (#29519) 2021-11-08 21:11:04 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
1b5b44047c expression, executor: fix unexpectedly modifying Flen and Decimal of CorrelatedColumn (#29457) 2021-11-05 07:49:02 +08:00
b64537d090 br: Update mysql.stats_meta after checksum in restore (#29429) 2021-11-04 19:55:02 +08:00
dcbfda914a ddl, executor: add warning log for lock/unlock tables (#29301) 2021-11-04 14:23:01 +08:00
4aec743624 *: add IsExplicitTxn in slow log (#29413) 2021-11-04 14:09:02 +08:00
9bbc7ad74a dml : dml read operation for cache table (#29184) 2021-11-04 12:07:01 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
b561dface8 planner: fix wrong results using the unique index column with cached plans (#29312) 2021-11-03 11:23:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
3032d87e4e *: enable golangci-lint exportloopref (#28991) 2021-11-01 18:36:51 +08:00
8625143cfc infoschema: get PD version from status (#29265) 2021-11-01 15:02:50 +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
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +08:00
33378f926c planner: fix some index merge plans can not be cached when plan cache enable (#29241) 2021-11-01 11:36:16 +08:00