Commit Graph

8026 Commits

Author SHA1 Message Date
49f2a908a6 remove read-only statement from transaction auto retry (#5026)
* *: Ignore readonly statement when retrying

* remove explain statement from retry
* remove all select statement from retry except It has setvar functions
* remove execute statement from retry if it is read-only statement
2017-11-08 19:03:05 +08:00
2d79d59f24 store/tikv: set undetermined error if not recover from an rpc error. (#5043) 2017-11-08 18:27:59 +08:00
c8e982c3ca vendor: update pd client (#5045) 2017-11-08 02:08:39 -06:00
7891b638bc util/testkit: fix Sort (#5044) 2017-11-08 01:33:38 -06:00
5922b7432b ranger: rerange file and rename some method. (#5028) 2017-11-07 19:57:21 +08:00
54a1e0ea22 vendor: update pd-client which add opentracing (#5039) 2017-11-07 05:07:36 -06:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
c4e6d2f7a3 ranger: rename some method. (#5036) 2017-11-07 14:36:01 +08:00
f3cc26e2a1 executor: make batch size of index join increasing slowly. (#5022) 2017-11-07 14:29:05 +08:00
1aa2a69f92 expression: remove type assertion on types.DatumRow. (#5005) 2017-11-07 14:17:53 +08:00
5a55d8b1a1 plan: let select push across project (#5016) 2017-11-07 13:18:47 +08:00
3f3ae07312 parser: parse more privilege types like RELOAD,EVENT and so on (#5013)
RELOAD
CREATE TEMPORARY TABLES
LOCK TABLES
CREATE VIEW
SHOW VIEW
CREATE ROUTINE
ALTER ROUTINE
EVENT
2017-11-07 11:42:21 +08:00
bbf0b92240 executor,store/tikv: opentracing for TableReader, IndexReader, IndexLookup executor (#4937) 2017-11-06 21:20:37 -06:00
30bcd74a61 parser: support sql_mode REAL_AS_FLOAT (#5029) 2017-11-07 11:03:25 +08:00
0acd9b6bea vendor: add proto for count min sketch (#5024) 2017-11-07 10:17:45 +08:00
32d0fc9e76 parser: support "insert into from selectStmt that has brackets" (#5008) 2017-11-06 07:06:21 -06:00
f46852480a Update the link to the Roadmap (#5017) 2017-11-06 20:22:13 +08:00
8d0121c171 stats: fix count min sketch test (#5025) 2017-11-06 02:23:40 -06:00
f7533a68d1 ddl: Add log details and tests (#5021)
* ddl: add log details and tests
2017-11-06 02:16:35 -06:00
7a71b14ac1 executor: remove joinBuilder (#5019) 2017-11-06 16:01:28 +08:00
55529a5d26 expression: make in more powerful. (#4969) 2017-11-06 15:36:53 +08:00
63347051d7 executor,util/testkit: fix data race in test TestOnlyFullGroupBy (#5020) 2017-11-06 00:59:12 -06:00
363957bc19 stats: implement Count-Min Sketch (#4970) 2017-11-06 11:20:46 +08:00
b7c722aab6 Support SQLMode ONLY_FULL_GROUP_BY and fix a join panic bug (#4613) 2017-11-06 10:53:29 +08:00
c3d0f21c2e *: distsql use goroutine pool (#5009) 2017-11-05 09:30:33 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
ad1c532ea5 *: remove unused package and functions (#5003)
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
0182bfd441 server: make auth test stable (#4999) 2017-11-03 23:32:26 +08:00
cf288b5b76 vendor: remove unused vendor package. (#5000) 2017-11-03 23:06:13 +08:00
a0f768d8f7 fix typo in comment (#5001) 2017-11-03 09:14:22 -05:00
68fcccdb2c types: fix doDivMod algorithm (#4995) 2017-11-03 21:43:18 +08:00
2b9a096a94 store/tikv: move safepoint checker to tikvStore. (#4998) 2017-11-03 09:58:04 +08:00
93910cedc5 expression, plan: correct the position of error check (#4993) 2017-11-03 09:26:51 +08:00
c70ed24253 plan, executor: clean code. (#4994) 2017-11-02 23:32:04 +08:00
0616a2fd15 executor, distsql: remove useless code. (#4991) 2017-11-02 19:40:59 +08:00
cb08085072 coprocessor: enable push float down to tikv. (#4967) 2017-11-02 05:09:30 -05:00
89a536158f ddl: make tests run (#4966) 2017-11-02 16:15:38 +08:00
2339a703d8 *: remove useless code in executor. (#4982) 2017-11-02 15:48:59 +08:00
e34fc447fc plan: remove old planner. (#4979) 2017-11-02 14:47:21 +08:00
57d06c161e plan: selection to dual directly if condition is always false. (#4980) 2017-11-02 14:41:27 +08:00
5ad1eb8e24 distsql: remove xeval (#4978) 2017-11-02 14:06:54 +08:00
91196a2dae server: reduce "growslice" in "dumpRowValuesBinary" (#4916) 2017-11-02 13:08:36 +08:00
dbbe72009f store: remove localstore (#4976) 2017-11-02 12:46:16 +08:00
030b3628d5 *: Remove the check of initialized auto ID (#4971) 2017-11-02 12:24:19 +08:00
ce5a3d639c *: remove localstore dependency. (#4965)
* *: use mocktikv for some tests

* change privilege tests.

* remove localstore dependency.

* fix golint

* fix test leak

* fix go sql test.

* change test

* change test

* address comments
2017-11-02 11:04:27 +08:00
1b9cc4170d types: fix #4954, insert column char(4) with latin1 charset by incorrect padding (#4962) 2017-11-01 23:08:04 +08:00
d7c4034c90 config: redundant names (#4972) 2017-11-01 08:34:12 -05:00
0b24d6022e plan, executor: improve index join to support all join types (#4944) 2017-11-01 15:44:22 +08:00
ec5955d48f ddl: adjust table split. (#4926) 2017-11-01 14:46:42 +08:00
ba9b1f72be parser: fix alter table add column(...) (#4963) 2017-10-31 05:37:23 -05:00