Commit Graph

2195 Commits

Author SHA1 Message Date
fcef061059 executor: fix wrong partition boundary for window funcions (#11637) 2019-08-22 11:38:28 +08:00
8d165f0fd2 executor: copy row data instead of refereeing chunk.Row in some window functions. (#11678) 2019-08-22 10:57:54 +08:00
ddace4f3fc executor: split a separate region for index when split table region (#11721) 2019-08-22 10:35:46 +08:00
b7422baebc executor: fix error check in EvalSubquery (#11802) 2019-08-21 18:19:47 +08:00
ec681598b6 *: change the query start time to the parsing time (#11159) 2019-08-20 20:35:16 +08:00
5d88749b6f ddl: refine pre-split region logic (#11794) 2019-08-20 19:17:36 +08:00
2addc25984 planner: use BatchPointGet to improve SELECT ...WHERE IN performance (#11750) 2019-08-20 19:10:35 +08:00
2de480855b executor: refine an error log message (#11758) 2019-08-20 15:08:47 +08:00
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +08:00
8a4b60c682 executor, privileges: fix privilege check fail for CREATE USER and DROP USER (#11589) 2019-08-19 19:08:17 +08:00
bc2036987a executor: record prepared stmt in handle_query_duration (#11753) 2019-08-19 15:43:18 +08:00
b393b76826 executor, privileges: fix privileges check fail for SET DEFAULT ROLE (#11201) 2019-08-19 13:48:16 +08:00
79d43a56ed planner: fix uncorrect behavior of index join (#11724) 2019-08-16 15:04:46 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
8a161721f1 planner, expression: remove TblID2Handle from Schema (#11152) 2019-08-16 13:02:16 +08:00
9f01c7b497 ddl: handle index key type in CreateIndex 2019-08-16 00:00:29 +08:00
db6c36c75f executor: fix data race in (*HashJoinExec).Close() since fetchInnerAndBuildHashTable is still running 2019-08-15 15:21:09 +08:00
4491bf854e planner: rename optimizer hints (#11673) 2019-08-14 19:31:01 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
140718d230 executor: fix auto retry when transaction has select for update (#11714) 2019-08-12 16:32:15 +08:00
9828c2ef65 fix field type error (#11713) 2019-08-12 15:51:08 +08:00
3076e632c8 *: use bytes.Equal to check byte slice equivalent (#11706) 2019-08-11 17:36:20 +08:00
df2075d745 *: remove the transaction kv count limit (#11141) 2019-08-09 20:35:37 +08:00
d210889a6c *: trace the execution of the insert operation (#11667) 2019-08-09 14:22:03 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
554594b0bb build: use make testSuite to ensure all testSuites enabled (#11627) 2019-08-08 15:23:28 +08:00
5fff4e9dea distsql: control the sending rate of copIteratorTaskSender if keepOrder is true (#11578) 2019-08-07 21:40:42 +08:00
28c0b1d226 executor: tiny refactor the insertRows function (#11643) 2019-08-07 21:28:44 +08:00
700bf2f3d8 planner: support PointGet plan when table has alias name (#11149) (#11270) 2019-08-07 18:08:37 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
a530f87db7 planner: add aggregation hints TIDB_HASHAGG and TIDB_STREAMAGG (#11364) 2019-08-07 10:51:34 +08:00
02ab1ed7ee executor,session: display the tree-like format of the trace statement (#11633) 2019-08-06 14:18:31 +08:00
c9502f0667 executor: support analyze option for samples (#11609) 2019-08-06 11:38:33 +08:00
3f3ead2d59 executor: fix #10513, alias identifier maximum length compatible with MySQL (#10597) 2019-08-05 19:14:11 +08:00
265b654809 model: add schema name, table name to ddl job. (#11561) 2019-08-05 17:30:23 +08:00
cffd04518c executor: no need to wait for fetchInnerRows if buildHashTableForList fails, and clean code (#11571) 2019-08-02 17:07:43 +08:00
129c0afdc6 executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal (#11480) 2019-08-02 16:50:10 +08:00
ea16273d44 executor: fix baseExecutor'children may not close (#11570) 2019-08-02 10:50:07 +08:00
576cdcdd0d executor: fix data race of "admin check table" (#11568) 2019-08-01 18:52:59 +08:00
7715341cb7 server: tiny refactor, more go style (#11478) 2019-08-01 17:36:05 +08:00
f13f7bbdbd ranger: BuildColumnRange should merge ranges when column has prefix len (#11563) 2019-08-01 16:24:36 +08:00
59e3eb75cd *: speed up the operation of "admin check table" (#8572) 2019-07-31 17:11:30 +08:00
8bc63973df executor: move failpoint test case to seq test suite (#11525) 2019-07-30 18:32:05 +08:00
da8e7d267c executor: refactor union_scan executor by using txn_mem_buffer_reader (#10673) 2019-07-30 17:40:33 +08:00
1f57a538a4 distsql: make CopStream available (#11311)
All tests passed, auto merged by Bot
2019-07-30 17:10:52 +08:00
a92902aeee load data: avoid an unnecessary converting from byte slice to… (#11516) 2019-07-30 11:01:04 +08:00
0668cae665 executor, stats: extract topn from cm sketch (#11409) 2019-07-29 19:05:19 +08:00
e09745bd02 metrics: add metrics for bind info (#10921)
All tests passed, auto merged by Bot
2019-07-26 20:19:03 +08:00