Commit Graph

8026 Commits

Author SHA1 Message Date
53713af731 store/tikv: fix retry without limit when committing the primary (#3258) 2017-05-16 16:48:50 +08:00
69a55ad845 *: refactor a function name (#3263) 2017-05-16 14:43:03 +08:00
34bf7ce118 store/tikv: context cancel should not trigger onSendFail and drop cache (#3259)
context cancel is not a error from the remote, so it should not
trigger onSendFail, which will drop region cache information.
2017-05-16 13:43:40 +08:00
83375338c8 expression:correct comments mistake. (#3272) 2017-05-16 09:49:28 +08:00
0f246744ce plan: consider task tp in required prop. (#3257) 2017-05-15 20:58:19 +08:00
e3ac940a20 Jenkinsfile: init adding Jenkinsfile (#3249) 2017-05-15 18:18:34 +08:00
301e984309 plan: support index join (#3262)
merge join forgot to set default values.
2017-05-15 17:18:15 +08:00
213954d2e7 *: add specified columns for LOAD DATA INFILE Syntax (#3240)
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
9b8a445aa8 *: parse more lock options in alter table statement (#3260)
* *: parse more  lock options in alter table statement and ignore them
2017-05-15 14:29:13 +08:00
83a40db1fa sessionctx/variable: add default value of Password Validation Variables (#3251) 2017-05-15 12:41:24 +08:00
b2a7b8735f bootstrap: tiny clean up. (#3261) 2017-05-13 12:52:07 +08:00
9f08180d7d information_schema: Fill information_schema.key_column_usage (#2721) 2017-05-12 20:27:43 +08:00
04f9318525 privilege:correct comments mistake (#3250) 2017-05-12 17:46:20 +08:00
d6ec37bb42 expression, util: refactor type resolver using new design (#3247) 2017-05-12 13:56:43 +08:00
3a522c7f94 expression: rewrite ConvertTz built-in functions (#3222) 2017-05-12 12:36:19 +08:00
1e2b6af3ab plan: add topn operator. (#3242) 2017-05-12 10:37:12 +08:00
9120562edc docs: update required golang version to 1.8 (#3254) 2017-05-12 10:07:09 +08:00
a0ecf85f9e plan, executor: let new plan resolve after physical plan building. (#3246) 2017-05-11 21:20:50 +08:00
ca9c961695 store/tikv: fix context checking for coprocessor worker routines (#3245) 2017-05-11 20:17:08 +08:00
76d6adb78d add builtin time period diff func (#3237) 2017-05-11 18:15:31 +08:00
bc2bba1130 add:impl builtin uncompress & uncompressedlength (#3136) 2017-05-11 17:10:16 +08:00
e80a7135c9 infoschema: correct comments mistake. (#3239) 2017-05-11 14:51:37 +08:00
56044645ee expression: add setSelf for all built-in functions (#3218) 2017-05-11 13:51:03 +08:00
b69690cdc1 ddl: speed up aysc ddl event notify for test. (#3233) 2017-05-11 12:39:24 +08:00
b0f66edfef expression: add EvalInt/EvalString/EvalDecimal/EvalReal for CorColumn (#3217) 2017-05-11 10:45:27 +08:00
5f34aa4776 *: Add warnings for load data (#3224) 2017-05-11 08:11:52 +08:00
6715099b44 sessionctx: @@version return wrong value (#3232) (#3238) 2017-05-11 00:06:09 +08:00
03bd83e187 util/type: add error trace for some time format error (#3226) 2017-05-10 23:31:41 +08:00
31b31a0f03 Add err check for unused err (#3236)
* add err check for unused err
2017-05-10 07:19:51 -05:00
be56698f72 document-store: init work. (#3228)
* document-store: init work.

1. add error codes and messages for json;
2. add json_extract and json_unquote functions in parser;
2017-05-10 19:17:52 +08:00
665b137e0e fix jekins ci (#3229) 2017-05-10 16:40:42 +08:00
c5e864539f executor: fix some bugs about new plan. (#3231) 2017-05-10 16:32:00 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
436eb24303 executor,store: fix a bug caused by HashJoinExec encode/decode (#3225)
HashJoinExec encodeRow method doesn't consider timezone,
but decodeRow method does, this introduce a bug.
2017-05-09 16:13:38 +08:00
9a9db91f63 plan: move range calculation to package ranger (#3208) 2017-05-09 02:12:39 -05:00
2bcd329d76 docs: replace logo (#3219) 2017-05-08 19:41:33 +08:00
e6ec57ee55 executor: fix data race (#3212) 2017-05-08 12:35:17 +08:00
0d6490efc4 *: interpret timestamp datum based on session's time_zone (#3167)
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
60c705cc81 expression: refine builtin-func RAND (fix issue3211) (#3213) 2017-05-05 19:51:12 +08:00
6dd04abf1e store/tikv: prewrite primary and secondary in parallel (#3148) 2017-05-05 17:25:08 +08:00
cc3676abc0 *: fix aggregation bug in new plan. (#3210) 2017-05-05 13:37:06 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00
Jay
928fd93474 fix GOPATH detection (#3209) 2017-05-04 10:52:43 -05:00
0d83936ef3 sessionctx: fix comments warning in sessionctx (#3192) 2017-05-04 10:23:15 -05:00
d128a10fad plan, executor: implement index look up executor. (#3204)
index look up executor implements index double reading. we reuse the concurrency algorithm in old index executor.
2017-05-04 21:33:36 +08:00
10fc9fcd44 tidb: eliminate runtime.morestack from getTimestamp call stack (#3054) 2017-05-04 20:06:37 +08:00
c8e674e6d4 builtin: IsIPv4Mapped function (#3193) 2017-05-04 10:31:33 +08:00
ab25fa9e90 expression: Make UUID() a dynamic function (#3207) 2017-05-04 10:16:28 +08:00
1a67dd53ca Travis: Add coveralls support (#3150) 2017-05-03 21:06:55 +08:00
d997cd220e ddl: Return an error when add or drop primary key (#3203) 2017-05-03 17:42:48 +08:00