Commit Graph

2243 Commits

Author SHA1 Message Date
04292a00de session: annotate the previous statement to the error when transaction commit failed (#12087) 2019-09-16 15:15:07 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
0f55274760 infoschema, session: support for events_statements_summary_by_digest (#12017) 2019-09-12 19:53:16 +08:00
fb683bef2c executor: refactor union scan and dirty table (#11702) 2019-09-12 10:00:45 +08:00
39e9c9fd7a *: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. (#12003) 2019-09-11 20:36:45 +08:00
57da569736 store/tikv,session: invalidate snapshot cache under pessimistic transaction (#12147) 2019-09-11 20:14:15 +08:00
836d5f7b58 planner/core: support generate hints from physical plan (#11936) 2019-09-11 17:53:29 +08:00
d29751ca5d executor: vectorize hash calculation in hashJoin (#12048) (#12076) 2019-09-11 16:06:46 +08:00
d88cd749f5 executor, expression: 1. rename tryToMatch to tryToMatchOuters 2. tiny refine tryToMatchOuters (#12138) 2019-09-11 11:24:14 +08:00
213b783dc6 executor: do not use batchChecker in 'insert ignore into ...' (#12122) 2019-09-10 19:42:00 +08:00
d5626a918d executor, expression: add a tryToMatchOuters for joiner (#11922) 2019-09-10 18:00:14 +08:00
64298f0278 *: refactoring the code of batchChecker (#12108)
batchChecker is difficult to maintain, we should get rid of it.
In this commit, I catch the BatchGet result into the snapshot, in this way we can
achieve the same goal as the batchChecker
2019-09-10 16:36:49 +08:00
4ee517cea4 conn: fix lost connection when insert from select panic cause by out of memory quota (#12090) 2019-09-10 15:10:03 +08:00
5c18c5df97 type: add db prefix to function name for not exist error messages (#11156) 2019-09-10 11:20:19 +08:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
3fdfe2e370 stats: support display invalid key in stats buckets (#12064) 2019-09-09 17:59:11 +08:00
b5bb641a94 executor: fix index hash join joiner race (#12072)
* fix index hash join joiner race

* add comment
2019-09-09 16:51:21 +08:00
4b911b8fdc planner: don't DoOptimze when build show (#12005) 2019-09-09 13:01:11 +08:00
dd25ed0c16 planner: extract basePhysicalJoin for several physical joins (#12029) 2019-09-06 14:49:06 +08:00
2ef6f46a63 ddl: fix modify bit column (#12008) 2019-09-05 20:21:55 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
845061351d planner: support index_lookup_merge_join in physical plan. (#11338) 2019-09-04 13:46:05 +08:00
dffe29355a *: not send tso request when point get with max tso (#11981) 2019-09-03 23:11:49 +08:00
994e14e2e7 *: record previous statement when commit is slow (#11908) 2019-09-03 21:39:35 +08:00
d9e7bd315e executor: support index nested loop hash join (#8661) 2019-09-03 13:45:53 +08:00
1ff620d4d0 executor: reorg codes for hashtable in HashJoinExec (#11937) 2019-09-03 13:34:23 +08:00
f9d85418ed *: support a region divided into multiple regions (#11739) 2019-09-03 13:30:49 +08:00
b90ebe1109 expression: enable vectorized expression evaluation by default (#11965) 2019-09-03 09:41:05 +08:00
dbdb2f4331 dml : fix last insert id when autoid specified by user in first row. (#11973) 2019-09-02 21:44:35 +08:00
728ed194c0 fix load data rowCount should added first before call colsToRow(). (#11980) 2019-09-02 05:58:28 -05:00
304619a184 executor: fix execution info of explain analyze (#11967) 2019-09-02 16:45:35 +08:00
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