Commit Graph

2178 Commits

Author SHA1 Message Date
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
85c790ec97 planner, executor: tiny refactor (#11420) 2019-07-26 19:31:06 +08:00
1e1cc1f325 types: fix string to integer cast (#11295) 2019-07-26 19:10:30 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
86d8f9a4bb *: add succ filed to slow log and fix shallow copy problem when parse slow log file. (#11417)
Test pass, auto merge by Bot
2019-07-24 19:20:18 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
b97c0434db executor: show CARTESIAN Join explicitly in the results of Explain (#11415) 2019-07-24 16:57:51 +08:00
1cca2d1455 improvement. change unessesary mem copy in for index substring call (#11405)
Test pass, auto merge by Bot
2019-07-24 16:40:13 +08:00
29970ca353 DDL: fix a bug in column charset and collate when create table and modify column (#11300)
* fix a bug in column charset and collate when create table and modify column

* extract the fix code logic to a func

* fix multiple collate specified in column

* add more test for multiple column collate

* add more Err case for multiple column collate

* fix comment format
2019-07-24 16:06:37 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
1ad073bf80 executor: show operators' memory consumption in results of EXPLAIN ANALYZE (#11334) 2019-07-24 10:53:02 +08:00
899ff96e86 executor: introduce Sel to Chunk to indicate which rows ar… (#11384) 2019-07-23 21:00:29 +08:00
119d532979 executor: load data/batch insert improvement reducing memory a… (#11284) 2019-07-23 18:41:52 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
ca70d74a28 executor, expression: fix current_timestamp/now not consistent… (#11342) 2019-07-23 17:02:24 +08:00
388ce88743 ddl: refine ddl error when do ddl error cause by infoschema is changed (#11308) 2019-07-23 16:18:48 +08:00
88db7ff17b infoschema: fix compatibility of auto_increment column value o… (#10207) 2019-07-23 15:52:29 +08:00
c1a5e79b28 planner: correct the generation of the field name (#11324) 2019-07-23 14:17:49 +08:00