Commit Graph

8026 Commits

Author SHA1 Message Date
e55f430d64 tidb-server: add domain close,adjust exit position (#3349) 2017-05-26 19:22:38 +08:00
9b6fc032fc *: add References_priv to mysql.user (#3343) 2017-05-26 17:58:32 +08:00
ed32957cfc document-store: reconstruct JSON code (#3326) 2017-05-26 17:18:03 +08:00
a81726a42f executor, statistics: analyze with null count. (#3336) 2017-05-26 16:44:09 +08:00
607af0bb7f statistics: estimate by lower bound. (#3341) 2017-05-26 16:12:35 +08:00
9b04b414c6 *: use TSO instead of local time (#3342) 2017-05-26 15:29:03 +08:00
cf98771fad fix: parseDuration error when parse string of one digit (#3345) 2017-05-26 14:04:38 +08:00
6033cfccb7 expression: Implementation of INET6_NTOA (#3333) 2017-05-26 09:43:17 +08:00
d5213842f1 Improve CONTRIBUTING.md (#3332) 2017-05-25 15:29:23 +08:00
7a5cd973f8 statisitics: build and load with lowerbound (#3327) 2017-05-25 15:00:36 +08:00
ed2555a0ef *: add GetTypeClass() function for Expression interface (#3321) 2017-05-25 14:39:03 +08:00
a630a9a096 AUTHORS: Add AUTHORS (#3311)
Signed-off-by: Ce Gao <ce.gao@outlook.com>
2017-05-25 14:16:31 +08:00
1fb022086a store/tikv: fix context cancelation for 2PC commit (#3330) 2017-05-25 10:43:33 +08:00
06ec635583 expression, util: rewrite IsHybridType func (#3319)
rewrite IsHybridType func and move it from package util to expression
2017-05-24 22:06:51 +08:00
f9114342ea add comment (#3328) 2017-05-24 21:43:22 +08:00
6dbff6149a expression: add castXXAsXXSig (#3329) 2017-05-24 17:58:42 +08:00
6962814a29 add json_type function and compare json with primitive types. (#3307) 2017-05-24 15:21:40 +08:00
aef9db4b3b store/tikv: add log. (#3318) 2017-05-24 12:44:26 +08:00
76ece8ec1f ddl: add support first/after for modify/change column (#3215) 2017-05-24 09:58:30 +08:00
3c7df1c302 executor, plan: support batch index look up join. (#3306) 2017-05-23 23:12:19 +08:00
d2557fe49a executor: open doubleread close test and fix bug. (#3316) 2017-05-23 16:27:28 +08:00
79ccc1384e util: correct type infer of Bit literal value (#3317) 2017-05-23 16:16:09 +08:00
fb75f5a1c6 expression, util: implement new cast built-in function signatures (#3266) 2017-05-23 15:43:52 +08:00
282421cdb0 fix: time add parameter (#3314) 2017-05-23 14:29:09 +08:00
9c6cd3e120 store/tikv: add conn pool metrics. (#3312) 2017-05-23 11:14:48 +08:00
31579bb3f0 Fix asyncGetTSWorker goroutine leak (#3291) 2017-05-22 16:53:31 +08:00
a7d68deb2a mock-tikv: fix write write conflict check. (#3308) 2017-05-22 16:27:06 +08:00
2518f8548a *: Add the arguments of ctx and etcdCli to the NewDDL interface (#3302) 2017-05-22 16:11:05 +08:00
50f0e37430 util/types: Duration Add (#3304) 2017-05-22 12:47:10 +08:00
0fee05c24c store/tikv: cleanup duplicate codes (#3310) 2017-05-22 10:47:49 +08:00
0dfc245aad *: change the schema of stats_bucket and stats_hist. (#3295) 2017-05-22 00:44:01 +08:00
f57f99ac13 plan: new plan support index look up join. (#3281) 2017-05-21 11:54:50 +08:00
47d252deb2 update vendor (#3296) 2017-05-21 11:05:02 +08:00
b3c43e52ca *: retry commit for prepared statement when schema change (#3297) 2017-05-21 10:42:10 +08:00
2c07a47f22 parser: fixed alter table compression option (#3293) 2017-05-20 16:37:57 +08:00
cd5bc0a314 parser: support add fulltext index and clean redundant code (#3299) 2017-05-20 16:25:40 +08:00
0cb1582e3d ddl: make test stable (#3300) 2017-05-18 22:03:48 +08:00
7ff6a69ecf ddl: remove the function of Start (#3288) 2017-05-18 11:12:50 +08:00
ff18bbf871 ddl: Use etcd to elect the owner (#3158) 2017-05-18 01:31:52 +08:00
302aa70f76 domain: check schema change when lease=0 (#3273) 2017-05-17 20:08:31 +08:00
26ee3cc2e5 executor: fix data race. (#3284) 2017-05-17 19:27:20 +08:00
2d89a97aae vendor:add support for command import (#3285) 2017-05-17 18:36:56 +08:00
598b45a429 store/tikv: don't store context and don't backoff when canceled (#3265) 2017-05-17 15:30:57 +08:00
97c8e3618a tidb: fix retry when commit get infoschema change error (#3270) 2017-05-17 14:46:24 +08:00
917b65c4a2 *: pass column index to kv store. (#3280) 2017-05-17 13:26:12 +08:00
ffee89b429 expression: add EvalDuration/EvalTime for expression (#3278) 2017-05-17 12:34:58 +08:00
1e4bf4775c document store: add JSON type and codec. (#3248)
Document store: add JSON type and codec.

The JSON binary representation is same with MySQL 5.7. we prefer
this not bson because 1) bson only supports JSON compound types
but not JSON primitive types, and 2) this representation is better
than bson on random access.

This PR now can support these  statements:
```
CREATE TABLE t (a json_field);
INSERT INTO t (a) values ('{"a": "b"}');
SELECT * FROM t;
```

JSON codec uses MySQL 5.7 compatible format, which doesn't support use JSON field as key or index. We will limit this in tidb later.
2017-05-17 12:00:34 +08:00
17c3af6cf1 ddl: Speed up the test of testAddIndex (#3279) 2017-05-16 22:15:21 +08:00
e7257d0e9d plan, executor: open the new plan switch for all test. (#3274) 2017-05-16 20:40:12 +08:00
345b30b929 executor: update an error code (#3276) 2017-05-16 18:07:49 +08:00