Commit Graph

4404 Commits

Author SHA1 Message Date
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
4fbbd5a77d executor: make projection executor unparallel for insert/update/delete (#30290) 2021-12-03 15:13:54 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
732b7eb128 executor: fix data race in oomtest (#30339) 2021-12-02 13:33:53 +08:00
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
7acb80f125 executor: migrate test-infra to testify for executor/index_lookup_join_test.go (#30260) 2021-12-02 11:27:53 +08:00
450d72fd6e executor: replace should not change other rows when auto ID is out of range (#30301) 2021-12-02 10:25:53 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
4e61d1626a topsql: reduce data race of sql digest (#30296) 2021-12-01 17:31:54 +08:00
80d18b6efb load data: fix bug if load data with long content (#29222) 2021-12-01 16:25:54 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
a0f7643e3f *: forbid set TiFlash Replica for a table with unsupport charset (#30162) 2021-11-30 15:55:53 +08:00
0c8614a80b executor: fix unstable test of topsql (#30257) 2021-11-30 13:01:52 +08:00
81ab3f6758 executor: remove useless log (#30248) 2021-11-30 10:45:52 +08:00
443f15ed4e executor: send a task with error to the resultCh when panic happen (#30214) 2021-11-29 20:15:52 +08:00
8ace8f612e planner: revise optimize trace logic (#30163) 2021-11-29 19:27:52 +08:00
3487bb7b5d executer: fix data race (#30186) 2021-11-29 18:59:52 +08:00
8550dbb216 *: add cardinality estimation trace for Selectivity (#29883) 2021-11-29 17:01:52 +08:00
7a8c7f89ce server: support download optimize trace file (#30150) 2021-11-26 16:53:51 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
78c653e294 planner: rebuild range when the range is empty (#30003) 2021-11-25 15:10:48 +08:00
9cd0b49f7f partition: Show partition reformat (#29945) 2021-11-25 04:21:50 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
a90c98816e ddl: fix none info of alter table placement (#29929) 2021-11-24 16:53:53 +08:00
05ccb8a206 planner: fix panic when the join key is scalarFunction (#30002) 2021-11-24 15:55:50 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
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