Commit Graph

2212 Commits

Author SHA1 Message Date
fe3555e77d *: FLUSH TABLE statement front end (#1701) 2016-09-08 13:27:09 +08:00
4d22f97013 support heap sort in sql layer. (#1697) 2016-09-08 12:57:03 +08:00
de27a91202 *: Merge adjacent handles when building key range (#1696) 2016-09-07 11:12:06 +08:00
9257a4181f *: fix show create table bug (#1689) 2016-09-06 11:30:27 +08:00
3e3ae885f4 *: make race with debug level (#1687)
* *: make race with debug level

* *: fix the problem of compatibility on the Mac

* ddl: pass make race
2016-09-05 15:42:47 +08:00
232605aa0e Avoid using tipb.KeyRange (#1685)
Do not use tipb.KeyRange.
Use EncodeRowKeyWithHandle to generate endKey.
Avoid decode values when only need handle.
2016-09-05 14:53:46 +08:00
b9f67a8b3d executor: push limit on double read when where is nil (#1683) 2016-09-03 20:06:57 +08:00
89f840e6a0 fix the bug of double read with order and limit (#1681) 2016-09-02 17:53:14 +08:00
9ca75f13bb fix a bug about double read index. (#1680) 2016-09-02 16:30:59 +08:00
645b939253 *: simple LOAD DATA escape support (#1658) 2016-09-02 09:57:42 +08:00
5a3f87d099 support unhex. (#1675) 2016-09-01 19:25:04 +08:00
afc73a07b6 *: Fix bug in show index for PkIsHandle (#1670) 2016-08-31 23:11:44 +08:00
9923f8cfa9 Reduce slice growth (#1663) 2016-08-30 19:52:41 +08:00
5211e8508e executor: Enlarge index scan batch size (#1655) 2016-08-30 09:59:03 +08:00
ed4649e85d *: Support load data local (#1634) 2016-08-30 09:38:37 +08:00
a09d282711 executor: tiny clean up (#1653)
* executor: tiny clean up

* replace more time.Now().Sub() with time.Since()
2016-08-29 06:20:23 -05:00
c0058d2b1c store/tikv: turn on Decimal, Avg, Sum switch and fix First function (#1651) 2016-08-29 14:42:14 +08:00
c8ca8f2451 executor: reduce XSelectTableExec info log (#1650) 2016-08-29 14:19:58 +08:00
88369ab886 executor: XSelectIndexExec fetch index and get data concurrently (#1622) 2016-08-29 13:32:28 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
e33587ed47 support explain (#1632) 2016-08-26 11:19:23 +08:00
2b5d2b15d0 *: Fix mysql_test and make autoid rebase method more efficient. (#1637)
* *: fix mysql_test and more efficient autoid rebase method.
2016-08-25 17:49:51 +08:00
2cec538e41 store/tikv: turn-off 'Sum' and 'Avg'. (#1635)
* store/tikv: turn-off 'Sum' and 'Avg'.

Those functions returns Decimal result and new Decimal has not been supported yet.

* executor: the old test expected result is wrong.
2016-08-25 09:21:48 +08:00
fa06043ce7 More efficient autoid rebase methord (#1631)
Prevent update kv everytime when rebase autoid
2016-08-24 11:18:40 +08:00
06b2a64677 executor: turn on switch for tipb.ExprType_MysqlTime. (#1629)
* executor: turn on switch for tipb.ExprType_MysqlTime.

* executor: turn off decimal as the codec has changed.
2016-08-24 10:28:31 +08:00
7c389ac756 fix a cob plan bug when executing join distributely (#1627) 2016-08-23 22:40:57 +08:00
e31b281ee7 *: use new MyDecimal implementation. (#1611) 2016-08-22 20:24:39 +08:00
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