Commit Graph

335 Commits

Author SHA1 Message Date
40dd366203 executor: Use multiple goroutines to do join (#1591) 2016-08-22 15:03:11 +08:00
c90d91cba9 *: Support insert ignore (#1579)
Ignore duplicate key errors for insert ignore stmt, Fix #1570
2016-08-22 14:18:56 +08:00
27ae3a2f98 *: Cleanup UseNewPlanner (#1614) 2016-08-21 21:20:06 +08:00
3752e706c0 *: When sort data by scanning pkcol, xapi TableScan response should keep order (#1612) 2016-08-21 09:46:34 +08:00
e4ac5301ce remove useless code. (#1609) 2016-08-20 16:00:20 +08:00
99c3bba7c7 xapi: Async fetch xapi result (#1599) 2016-08-19 17:16:38 +08:00
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
469580ffd0 Use gogo proto for tipb (#1603) 2016-08-18 18:03:40 +08:00
b3a7272db7 *: enable tikv index aggregate (#1594) 2016-08-17 22:32:10 +08:00
96fe96a6c4 *: Add keepOrder parameter for xapi.Select (#1596)
Not all xapi request should return in key order.
2016-08-17 17:27:16 +08:00
4a2f5ba1b7 *: Abstract coprocess result to interface (#1587) 2016-08-16 10:44:16 +08:00
a3eac844ae *: Support set names binary (#1578) 2016-08-15 22:25:23 +08:00
39e4d52bd7 *: support index where and aggregate push down. (#1567) 2016-08-15 20:03:52 +08:00
22c187e9c5 fix a bug 2016-08-15 14:12:38 +08:00
e5085ad808 Merge branch 'master' into hanfei/false 2016-08-15 11:37:42 +08:00
1cd4b1d036 tiny clean 2016-08-15 11:36:53 +08:00
d497d3d875 Fix nil point panic when store failed. (#1583) 2016-08-15 11:23:35 +08:00
c18dd04e04 optimize when condition is false constant. 2016-08-15 11:11:37 +08:00
69c9d59252 plan: fix index double read (#1569) 2016-08-09 11:01:39 +08:00
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
076e358324 plan: Fix a few bugs (#1555)
* plan: fix cost full range bug

* plan: fix like empty pattern

* plan: make more accurate cost

* plan: make more accurate cost in range[MinNotNull,MaxValue]

* executor: fix like convert to PB when pattern isn't a constant
2016-08-05 16:54:17 +08:00
e2dfc21c25 resolve having correctly. (#1552) 2016-08-04 14:10:15 +08:00
d639c0aa54 support single index read. (#1538) 2016-08-02 16:13:50 +08:00
6499d8aea0 store/tikv: mantain lastTS in pd oracle. (#1530) 2016-08-02 13:21:52 +08:00
08c69c8ffb executor: Fix limit bugs in new xapi executor (#1535) 2016-08-02 10:10:43 +08:00
9a53a54fe7 fix a bug when push down conditions. (#1531) 2016-08-01 17:18:09 +08:00
9574322317 support join reorder. (#1522) 2016-08-01 15:57:47 +08:00
d2b4ad8814 *: Pass make race (#1521) 2016-07-29 18:45:55 +08:00
b0e4096f3c fix bug of limit. (#1515) 2016-07-28 17:58:13 +08:00
60d0c97721 Hanfei/newplan (#1513) 2016-07-28 14:11:57 +08:00
9a5809943d *: fix show procedure status resolving error. (#1507) 2016-07-27 15:02:44 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
f5a6c962b5 *: Change ctx.Value from interface{} to Datum (#1494) 2016-07-25 10:42:54 +08:00
432df5458b *: aggregate related code cleanup (#1488) 2016-07-23 14:29:52 +08:00
ba59e7975c executor: Support aggregate push down in new index scan executor (#1485) 2016-07-22 18:03:55 +08:00
c66576ba05 Support aggregate push down in new executor (#1483)
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
b33ab24109 *: Support set variable to default value. (#1481)
To set a SESSION variable to the GLOBAL value or a GLOBAL value to the compiled-in MySQL default value, use the DEFAULT keyword.
See http://dev.mysql.com/doc/refman/5.7/en/set-statement.html
2016-07-22 10:23:03 +08:00
1e6e1ca6f0 *: Support binlog stmt (#1479)
Parse and ingore it.
2016-07-21 13:39:15 +08:00
7282f4283b add not push down during refining. (#1478) 2016-07-21 10:31:08 +08:00
1a10e4737a fix bug of interpreter. (#1473) 2016-07-19 19:26:17 +08:00
35133ef397 support semijoin without aux column, support semijoin for insubquery. (#1461) 2016-07-19 11:36:32 +08:00
5896bb9b64 fix a panic bug for subquery. (#1468) 2016-07-18 18:45:18 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
fea1d3e8ff fix a panic bug about subquery. (#1465) 2016-07-18 14:18:58 +08:00
11d642520b fix a bug that select null from a index table. (#1464) 2016-07-18 12:01:31 +08:00
bd10f50e26 localstore xapi max/min (#1455)
Support Max and Min for localstore xapi.
2016-07-17 17:44:59 +08:00
815d2fd6b5 *: Add reason log for rollback txn (#1453) 2016-07-15 18:05:35 +08:00
224fc0596b support semi-join for exists. (#1454) 2016-07-15 14:46:03 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
e068bc5c8e refine code (#1447) 2016-07-14 14:41:03 +08:00