Commit Graph

3241 Commits

Author SHA1 Message Date
5846fc3ee0 store/tikv: parallel commit. (#1290)
* store/tikv: parallel commit.

* store/tikv: commit && cleanup asynchronously.
2016-06-08 15:19:08 +08:00
c6637049ab plan: alloc plan ID in builder (#1301)
Avoid race condition.
2016-06-08 11:29:08 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00
22f3f914e4 *: Fix aggregate bug found in sqllogical test (#1299) 2016-06-07 20:46:32 +08:00
10359b0052 rewrite executor. (#1294)
* rewrite executor.
2016-06-07 20:32:15 +08:00
1e7a9b44b3 *: Fix xaggregate with index scan panic (#1297)
* *: Fix xaggregate with index scan panic

* *: Make gofmt happy
2016-06-07 18:29:51 +08:00
6cefb905e1 *: support distributed aggregate function count (#1289)
support distributed aggregate function count and groupby on local_region
2016-06-07 16:19:48 +08:00
d9569a6801 *: Support date_format (#1295)
* *: support date_format

* evaluator: update yearweek function
2016-06-06 18:49:06 +08:00
f3a0f1af78 executor: fix adapter statement. (#1292)
Implements `OrgionText`, 'SetText` and 'IsDDL`.
2016-06-06 11:35:07 +08:00
7330427b19 store/tikv: use rbtree for cache region search (#1285)
* store/tikv: speed up GetRegion

* store/tikv: use rbtree for region cache.
2016-06-04 15:12:29 +08:00
b5b80e2202 Makefile: Automaticly make parser before make server (#1288) 2016-06-04 13:02:17 +08:00
2631d50741 *: Add retry attempts into txn (#1284)
* *: Add retry attempts into txn
2016-06-03 17:37:41 +08:00
0373895334 *: Support time (#1282)
* *: support time
2016-06-02 10:48:09 +08:00
75f089d056 util/types: clean up, removed unused code. (#1281) 2016-06-02 10:42:36 +08:00
97df813e92 fix parsing error caused by single quote transformation (#1274)
fix parsing error caused by single quote transformation
2016-06-01 17:41:20 +08:00
61532d7c4e *: Support monthname (#1279)
* *: support monthname
2016-06-01 14:02:53 +08:00
f9c31d9130 Hanfei/rewrite plan (#1272) 2016-06-01 13:12:55 +08:00
a58a8fc365 parser: appending item to list instead of appending list to item. (#1276)
* parser:  appending item to list instead of appending list to item.

Reduce memory allocation.

* parser: apply the same optimization for 'ROW'.

* *: add test
2016-05-31 20:05:16 +08:00
ed33f4c8a2 *: allow system variable 'character_set_results' to be set to NULL. (#1275) 2016-05-31 17:54:46 +08:00
7c7b1b59f5 *: Unify error (#1273)
* *: unify error format in table, server and xapi package

* terror: remove duplicated code
2016-05-31 15:06:11 +08:00
ced939df5d types: Tiny cleanup (#1270)
Fix typo
2016-05-31 12:49:43 +08:00
a05f3fde6d *: fix decimal fraction value. (#1271) 2016-05-31 10:29:02 +08:00
458671af7e util/codec: unify decimal codec with tikv. (#1268) 2016-05-30 17:50:23 +08:00
08bfa2f423 executor: Increase XTableScan default concurrency from 1 to 10 (#1269) 2016-05-30 16:56:32 +08:00
4c339c567d util/types: parse float with best effort. (#1264)
For example, "1.1a" should parsed to 1.1 rather than 0.
2016-05-30 14:26:41 +08:00
f09574d826 *: support sql mode (#1263) 2016-05-30 13:16:41 +08:00
1b21901cec *: Add GoReportCard (#1267)
1. Add goreportcard.
2. Tiny cleanup.
2016-05-30 11:38:59 +08:00
05043bfb0c *: fix decimal codec bug, see #1265. (#1266) 2016-05-30 10:34:14 +08:00
d242cc111e store/tikv: add isolation test (#1261)
* store/tikv: add isolation test
2016-05-27 10:47:20 +08:00
c9413d622b *: fix auto increment type (#1262) 2016-05-26 17:18:37 +08:00
86fe54dadc *: Fix issue 1118 (#1259)
* *: fix issue 1118
2016-05-26 12:49:43 +08:00
6bbcce2a95 store/tikv: add pd retry, add tid in commit logs (#1255)
* store/tikv: add retry for PD RPC

* store/tikv: add tid in log
2016-05-26 10:50:18 +08:00
084c4b121c Merge pull request #1260 from pingcap/c4pt0r/readme-image
readme: use new logo
2016-05-26 10:03:03 +08:00
ceb61cc8e8 readme: use new logo 2016-05-25 20:12:37 +08:00
809e8154bb *: remove hbase store (#1256) 2016-05-25 16:03:03 +08:00
d3cb90559b *: change Context method FinishTxn to CommitTxn and RollbackTxn. (#1253)
Makes it easier to read.
2016-05-24 13:17:01 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00
965e704412 executor: makes dirty table supports XAPI. (#1245) 2016-05-24 10:53:17 +08:00
6326b3d01a Merge pull request #1250 from pingcap/qiuyesuifeng/update-vendor
*: update kvproto vendor.
2016-05-23 19:19:24 +08:00
c9a47a3b73 *: update kvproto vendor. 2016-05-23 19:08:48 +08:00
a98ecf8907 optimizer/plan: fix join panic (#1246)
* optimizer/plan: fix join panic
2016-05-23 15:37:10 +08:00
e22d8d06da *: xapi push down mysql.Duration and mysql.Decimal. (#1243) 2016-05-20 18:30:30 +08:00
4f840a7754 *: Tiny clean up (#1244)
* *: Tiny clean up

* optimizer: update test
2016-05-20 12:59:01 +08:00
228f1d7026 support hash join in new plan (#1234)
* support hash join.

* fix some errors

* add test for predicate push down

* change substitutor...

* add bench mark

* change comment

* fix bug.
2016-05-19 15:43:16 +08:00
bb02c4a4ae domain: Unify lease (#1239)
* domain: unify lease

* domain: tiny clean up


* *: give mock tikv store a uuid
2016-05-19 11:36:09 +08:00
0029d427f4 store/tikv: add batch cleanup, update commit response (#1235) 2016-05-19 00:42:17 +08:00
36c3e801b1 store/tikv: use id+version to identify Region. (#1241) 2016-05-18 16:16:44 +08:00
e069bd8df4 fix default null bug in ddl
fix default null bug and add unittest
2016-05-18 14:49:23 +08:00
eb5e0bade1 *: switch on xapi support for duration and decimal type. (#1240) 2016-05-18 11:47:23 +08:00