Commit Graph

8026 Commits

Author SHA1 Message Date
a3f34f528d xapi: use more efficient protobuf structure for select result. (#1692) 2016-09-08 14:50:05 +08:00
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
536d78ee2b ddl: Fix error code bug and update ddl test (#1700) 2016-09-08 11:28:52 +08:00
c896a643d2 store/tikv: update copRanges.slice(). (#1698) 2016-09-08 11:16:54 +08:00
9c75a19ebf parser: mysql start transaction WITH CONSISTENT SNAPSHOT syntax (#1703) 2016-09-08 08:19:06 +08:00
6b8e1cdd0a support constant propagation (#1652) 2016-09-07 17:30:24 +08:00
42010e61db fix typo and ineffassign (#1702)
* fix typo and ineffassign
2016-09-07 01:57:58 -05:00
de27a91202 *: Merge adjacent handles when building key range (#1696) 2016-09-07 11:12:06 +08:00
5755249263 server: support mysql CLIENT_CONNECT_ATTRS capability (#1684) 2016-09-06 18:28:15 +08:00
9257a4181f *: fix show create table bug (#1689) 2016-09-06 11:30:27 +08:00
9d2f62ad4f benchkv: fix metrics URL (#1688) 2016-09-05 06:25:44 -05: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
ad0c7b4b4c store/tikv: speed up buildTask(). (#1678) 2016-09-03 05:56:02 +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
a9ac57bfad benchkv: just register metrics handler (#1679) 2016-09-02 13:40:35 +08:00
3284b854b8 benchkv: Make value size configurable (#1676) 2016-09-02 10:52:43 +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
5c57109007 xapi: reduce memory allocation. (#1677) 2016-09-01 16:40:27 +08:00
6de67d3695 *: do not coerce int and uint to uint (#1671)
partially revert previous PR
2016-09-01 14:14:07 +08:00
7bedd9cd40 parser: recognise \r\n as whitespace (#1672) 2016-09-01 11:51:26 +08:00
aabb7664ef *: Support ceil() and ceiling() (#1666)
* *: support ceil and ceiling
2016-09-01 10:53:02 +08:00
d500c7817d Merge pull request #1669 from pingcap/zimuxia/ddl-test
ddl: Pass make race
2016-09-01 10:36:58 +08:00
b17a7ff3d9 Merge branch 'master' into zimuxia/ddl-test 2016-09-01 10:15:10 +08:00
afc73a07b6 *: Fix bug in show index for PkIsHandle (#1670) 2016-08-31 23:11:44 +08:00
ca7be01238 ddl: pass make race 2016-08-31 20:59:51 +08:00
e508a23234 util/types: fix CoerceDatum function behavior (#1667)
* util/types: fix CoerceDatum function behavior
2016-08-31 20:15:54 +08:00
85af86599f server/driver.go: fix typo (#1665) 2016-08-31 16:31:03 +08:00
06f0c4cbeb server/driver.go: fix typo 2016-08-31 02:28:42 -05:00
9923f8cfa9 Reduce slice growth (#1663) 2016-08-30 19:52:41 +08:00
d39045acb7 *: Pass make race in the DDL test (#1656) 2016-08-30 14:13:37 +08:00
7991ea7600 vendor: update etcd to fix goroutine leak. (#1654) 2016-08-29 22:35:27 -05: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
0d2093c9db *: Add a simple bench program (#1648)
* *: Add a simple bench program

* add missing file

* Print metrics of prometheus
2016-08-29 07:19:12 -05: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
6dbc818f6f *: change Boostrap to Bootstrap (#1647) 2016-08-29 12:43:01 +08:00
d6605468be tidb: New domain with retry and backoff (#1640) 2016-08-29 11:17:25 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
d642c89656 server: check 'capability' more strictly (#1639)
some client doesn't obey mysql handshake protocol on capability
so we force it
2016-08-26 17:01:42 +08:00
5b41699f7d store/tikv/mock-tikv: check if already rolled back when prewrite. (#1600) 2016-08-26 14:33:13 +08:00
e7e2a762b3 mysql: fix a corner case bug for MyDecimal (#1642) 2016-08-26 14:09:01 +08:00
e806ac5651 Support Outer Join Simplify (#1630) 2016-08-26 13:49:09 +08:00