Commit Graph

8026 Commits

Author SHA1 Message Date
add8aef7a3 ddl: update owner_manager TTL (#3440) 2017-06-08 20:11:11 +08:00
8e4479832b vendor: update pd (#3430) 2017-06-08 18:19:03 +08:00
db2724aee9 ddl: Fix a bug when wait schema change timeout (#3429)
* ddl: fix a bug when wait schema change timeout
2017-06-08 16:02:14 +08:00
124b937cd4 2pc: cleanup primary key first (#3420) 2017-06-08 16:02:01 +08:00
b8972bcd5e ddl: Add interval to log (#3422) 2017-06-08 15:30:41 +08:00
72981fdbbd DDL: add two limits for JSON column: used as key and not null default value. (#3401) 2017-06-08 13:52:12 +08:00
eb2b32ee86 executor: validate snapshot TS (#3416) 2017-06-08 13:33:12 +08:00
e270fe7f9a binloginfo: skip test for parallel issue (#3425) 2017-06-08 13:06:04 +08:00
5654dd9bd2 expression: FROM_UNIXTIME(12.1) + 1 return wrong field type (#3386) 2017-06-08 00:40:11 +08:00
a5b05a7b1e binloginfo: use current time for unix socket filename (#3418) 2017-06-07 22:35:59 +08:00
c1902e62c4 util/testleak: make it work right (#3414)
* fix testleak package
* provide "make leak" to makefile
2017-06-07 20:39:44 +08:00
a623135bae *: add cast(value as JSON) support. (#3395) 2017-06-07 19:58:27 +08:00
1c5ad420d3 executor: avoid allocating a lot of memory at first in topn. (#3392) 2017-06-07 19:13:24 +08:00
7ae996c411 Set stats lease. (#3408) 2017-06-07 18:19:52 +08:00
1686ca7dc1 expression, util: improve cast function signatures (#3387) 2017-06-07 17:25:09 +08:00
5a1154d11d makefile: Enable -race with WITH_RACE=1 (#3399) 2017-06-07 15:39:04 +08:00
7d634a5486 *: fix a data race in privilege handle Update() (#3389)
privilege handle bind a ctx to call Update(), but it may be
called by multiple goroutines, so data race in that ctx.

change Update() to take a context parameter, avoid using the
same ctx to fix the race.
2017-06-07 11:30:11 +08:00
e1debd4505 executor: analyze executor construct new distsql exec. (#3410) 2017-06-07 11:10:25 +08:00
0fec425b18 style: change return to keep code style clean (#3407) 2017-06-07 10:59:10 +08:00
78319c7530 *: reset statement context for prepared statements (#3413) 2017-06-07 10:06:32 +08:00
c2533c60ff *: Update lease value and do not share etcdSession in owner manager (#3404) 2017-06-06 22:28:42 +08:00
fed20ab611 ddl: Fixes the timeout of run make race (#3406)
* ddl: fixes the timeout of run `make race` operation
2017-06-06 19:39:24 +08:00
035ac291e2 expression:correct comments mistake. (#3411) 2017-06-06 17:15:04 +08:00
791b4c273c expression: add buildin functions json_{set,insert,replace} and json_merge. (#3388) 2017-06-06 15:50:32 +08:00
757953632b store/tikv: write read-only select for update locks (#3402) 2017-06-06 01:29:33 -05:00
1422c0847c ddl: Export some variables and remove useless tests (#3398)
* ddl: remove tests and export for testing
* ddl: extract a function for testing

* ddl: fix a bug, export TTL and update log

* ddl: make golint happy

* ddl: update comments
2017-06-06 12:55:55 +08:00
140c1a3d91 plan: calculate stats profile in logical plan. (#3370) 2017-06-06 11:03:18 +08:00
7b6e4475b3 variable: add a varaible to read current timestamp (#3400) 2017-06-06 07:27:30 +08:00
0cbc6c83e1 store/tikv: add grpc window size config (#3397) 2017-06-05 19:43:58 +08:00
ca1b73f85c vendor: upgrade grpc library (#3396) 2017-06-05 18:59:29 +08:00
063dbd0e41 store/tikv: use grpc (#3390) 2017-06-05 18:10:20 +08:00
e669009a27 expression: add builtinAddTimeSig (#3290) 2017-06-05 17:36:33 +08:00
72f8dfedfb domain,tidb: adjust sysSessionPool size (#3385) 2017-06-05 14:44:03 +08:00
b0e2d4f908 ddl: Retry when session is done (#3371)
ddl: Retry when session is done
2017-06-05 14:04:29 +08:00
1d486fbed9 Format checklist.md (#3382) 2017-06-05 10:58:34 +08:00
cae65ff127 executor, util: fix gorm-test when cast a value to varbinary(N) (#3379) 2017-06-04 21:18:47 +08:00
62450b9024 Use etcd to speed up DDL process
Add the mock owner-manager and schema-syncer and enable using etcd to speed up DDL process by default.
2017-06-04 10:00:41 +08:00
7a872e4694 add json functions: json_{set/insert/replace} and json_merge. (#3374) 2017-06-03 15:29:59 +08:00
21ecc66963 *: fix typos (#3375)
* *: fix typos
2017-06-02 07:14:57 -05:00
e294500a17 expression:implement function password. (#3275) 2017-06-02 15:08:40 +08:00
01dd725090 add Extract and Unquote functions for JSON. (#3353) 2017-06-02 10:30:30 +08:00
ea9ce9c0fa *: fix issue3356 (#3357) 2017-06-01 23:53:45 +08:00
1183792524 executor: stop fetch handles after closing. (#3365) 2017-06-01 15:50:51 +08:00
f453b19341 privileges: Upgrade stored password format to Compatible with MySQL. (#3292)
Password stored in mysql.user of TIDB is the format of SHA1(pwd),
which is not compatible with MySQL.
Different password format will cause user migrate data from MySQL
login failed on TIDB.
2017-06-01 09:37:41 +08:00
f83bdd0aaf *: fix 3235 (#3358) 2017-05-31 23:27:47 +08:00
b73b833e02 parser: use ExpressionListOpt for json functions. (#3362) 2017-05-31 13:46:22 +08:00
8eed6456e9 statistics: store and load null count. (#3350) 2017-05-31 12:58:27 +08:00
77b87ed170 variable: remove GoSQLDriverTest (#3361) 2017-05-31 11:43:38 +08:00
64830c93b7 ddl: Use etcd to synchronize schema version (#3322) 2017-05-27 16:42:19 +08:00
8a22cd6534 plan: rename taskProfile to task. (#3348) 2017-05-27 15:27:09 +08:00