Commit Graph

2211 Commits

Author SHA1 Message Date
bbb70be448 executor: uncomment the BatchPointGet unit tests (#11962)
Signed-off-by: Lonng <heng@lonng.org>
2019-09-01 09:08:12 +08:00
bb84d1bdba planner: allow insert default into generated columns (#11901) 2019-08-30 17:45:40 +08:00
fc739762c3 executor: refine the usage of expression blacklist (#11940) 2019-08-30 13:29:22 +08:00
3de23f0f7c planner/core: support query block hint (#11861) 2019-08-29 19:14:38 +09:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +08:00
ba4eb8fba5 *: add region read/write bytes info and approximate size/keys in show table regions result. (#11847) 2019-08-29 11:33:44 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
c59933323a expression: fix constItem() and column-pruning in order by clause (#11839) 2019-08-28 16:59:35 +08:00
cc07b11082 executor: set the correct stmtCtx for explain statement (#11186) 2019-08-27 14:09:35 +08:00
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
59ea7460a8 planner: PointGet don't rely on names in expression.Column (#11779) 2019-08-26 15:40:39 +08:00
34a8ca30d6 executor: use the kv.PresumeKeyNotExists option in updateRecord() (#11720)
This change can avoid unnecessary network roundtrip when creating a primary key or unique index
2019-08-26 15:18:30 +08:00
f24866a40c *: support bindings for prepare statement (#11642) 2019-08-26 10:30:40 +08:00
396b094675 *: record query start time to session variables (#11822) 2019-08-22 21:46:17 +08:00
1b998ce4f6 *: record index name in the slow log instead of index id (#11795) 2019-08-22 14:27:47 +08:00
8b679ed3e2 executor: fix panic when execute change pump state (#11730) 2019-08-22 13:40:45 +08:00
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