Commit Graph

8026 Commits

Author SHA1 Message Date
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
cf6d1f5f97 *: do not set null column value to save storage space. (#1236) 2016-05-17 19:14:28 +08:00
602da73640 store/tikv/mock-tikv: add coprocessor support. (#1230)
* store/tikv/mock-tikv: add coprocessor support.
2016-05-17 18:19:51 +08:00
f8d7a3c5ef *: Fix unsigned int as PKColumn bug (#1238)
* *: Fix unsigned int as PKColumn bug
2016-05-17 14:41:11 +08:00
93577c17d1 *: Fix infoschema/perfschema concurrent bugs (#1232)
* *: Fix infoschema/perfschema concurrent bugs

Make it safe to create Handle on multiple stores.
2016-05-16 16:32:34 +08:00
2a98df94b1 store/tikv: update scanner (#1233)
* store/tikv: update scanner

* store/tikv: update tests

* add delete lock test
2016-05-16 12:28:32 +08:00
a9cb8eecb4 store/localstore: fix local region select table in desc order. (#1222)
* store/localstore: fix local region select table in desc order.
2016-05-16 11:49:44 +08:00
55ed68ca6c add builtin-reverse func (#1224) 2016-05-13 20:53:55 +08:00
322731eae9 store/tikv: update scanner lock (#1227)
* store/tikv: scanner resolve lock in `Next()`

* store/tikv: add lock test
2016-05-13 13:56:16 +08:00
1a0aac2227 store/tikv: re-add peer (#1228)
* store/tikv: re-add peer

* store/tikv: update mock-tikv and tests

* *: update vendor
2016-05-13 11:49:50 +08:00
2e355f3749 *: Fix issue#1114 (#1231)
* *: supprot assignment

* *: fix issue 1114
2016-05-13 11:26:26 +08:00
dcec06daad fix concurrent map writes error when a large number of connection comes concurrently (#1226) 2016-05-12 21:57:51 +08:00
ad71aeca9d store/tikv/mocktikv: fix mutex issue (#1229) 2016-05-12 19:37:50 +08:00
e623682db0 store/tikv: encode/decode keys for pd (#1223)
* store/tikv: encode/decode keys for pd
2016-05-11 18:43:35 +08:00
9ec4ecdd73 *: add update dependency script (#1221) 2016-05-11 14:33:55 +08:00
0622f5dacd *: update deps (#1220) 2016-05-11 11:39:33 +08:00