Commit Graph

4575 Commits

Author SHA1 Message Date
18381f9319 planner: fix the issue that binding cannot work when sql_select_limit is enabled (#29789) 2021-11-23 17:59:52 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
7fdafb47d3 planner: add sub plan info of shuffleReceiver when query explain analyze (#27992) 2021-11-23 16:49:51 +08:00
bba5fee1e6 executor: migrate test-infra to testify for executor/write_test.go (#29953) 2021-11-23 16:33:51 +08:00
205d9ab910 executor, store: replace compareDatum by compare (#30044) 2021-11-23 16:19:50 +08:00
fb5eb1fa77 *: replace compareDatum by compare (#30048) 2021-11-23 15:57:50 +08:00
e45387309b executor: fix error msg of granting non-table level privilege (#29321) 2021-11-23 15:05:50 +08:00
759aab5909 executor: remove useless parameter (#30043) 2021-11-23 14:51:50 +08:00
e030ff1155 *: fix unstable test caused by TestRandomPanicAggConsume (#30035) 2021-11-23 14:05:50 +08:00
805a887380 executor: migrate test-infra to testify for executor/show_stats_test.go (#30000) 2021-11-23 13:37:51 +08:00
d15ca2a869 planner: unify the argument of range functions to use SessionCtx instead of StatementContext (#29999) 2021-11-23 12:35:51 +08:00
51f53f3376 insert: fix the auto id retry won't cast the datum to origin type (#29997) 2021-11-22 23:39:49 +08:00
2bf67ff18e executor, types: refactor CompareDatum (#29866) 2021-11-22 23:23:50 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
d711f18e0d types/datum.go: casting zero to enum should not change value (#29759) 2021-11-22 18:29:49 +08:00
02a8f04531 types: fix return err when decimal from string value (#22407) 2021-11-22 18:15:49 +08:00
5ceb77c7c7 executor: migrate test-infra to testify for executor/brie_test.go (#29955) 2021-11-22 16:47:50 +08:00
4d16aabf90 planner: change redundantSchema to fullSchema to correctly handle natural and "using" joins (#29599) 2021-11-22 14:53:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
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