Commit Graph

8026 Commits

Author SHA1 Message Date
f42570fce2 Update ISSUE_TEMPLATE (#3206) 2017-05-03 17:32:23 +08:00
9f3ed9bc05 ddl: fix checkDuplicateColumn and add test cases. (#3174) 2017-05-03 17:03:24 +08:00
31314690a9 expression: remove baseExpr struct (#3202) 2017-05-03 16:15:53 +08:00
d1876810e3 expression: add EvalXXX functions for Constant and Column (#3128) 2017-05-03 15:17:06 +08:00
67c62b3b39 *: make string in select result convert to bit correctly. (#3188) 2017-05-03 14:14:09 +08:00
3f296ed82d *: add Trigger_priv column to mysql.user (#3143) 2017-05-03 13:49:07 +08:00
67815f1a07 plan: copy the physical info to avoid panic. (#3199) 2017-05-03 11:27:07 +08:00
dbcab85ba6 *: support index reader executor. (#3175) 2017-05-03 10:58:55 +08:00
1ba5b0b273 tidb: fix version7 bootstrap (#3198) 2017-05-02 21:52:02 +08:00
3370dc9b92 store: remove useless code (#3197) 2017-05-02 21:00:29 +08:00
2d880d4d6b vendor: update etcd version (#3195) 2017-05-02 20:51:09 +08:00
cfa1b19628 expression: rewrite compare built-in functions (#3155) 2017-05-02 19:59:04 +08:00
4b82b6f4cf err assigned and not used (#3178) 2017-05-02 16:16:12 +08:00
f9340d8171 *: fix BIN test and check error for QUARTER. (#3194)
The BIN test puts a datum slice into a datum, which is an unknown datum type, `eval` returns error.
2017-05-02 15:18:15 +08:00
4e18816bb6 tidb-server: check privilege feature set the default value to true (#2995) 2017-05-02 14:36:03 +08:00
20be357e86 expression: fix buildin function found_rows() (#3134)
fix issue #3131.
2017-05-02 11:40:10 +08:00
a7f4c3dd5e sessionctx/varsutil: fix parse time_zone '-6:00' (#3165)
Fix a parse bug that negative sign is not take into consideration.
2017-05-02 11:25:15 +08:00
ec4eb933fa cmd: fix comments warning in cmd (#3191) 2017-05-02 11:01:13 +08:00
98176c30f7 plan: new plan supports merge join. (#3153) 2017-05-01 21:29:49 -05:00
588bf60f0c *: support analyze index (#3156) 2017-05-01 19:42:46 +08:00
858d76bbe3 executor: fixed comments warning. (#3187) 2017-05-01 19:19:32 +08:00
f705ffcd8e remove useless code (#3189) 2017-05-01 01:33:57 +08:00
646c531814 correct comments in perfschema (#3186) 2017-04-29 10:59:02 -05:00
c79b06ad8d bootstrap: correct comments mistake (#3182) 2017-04-29 23:28:54 +08:00
b4f20e6f0b util/testkit: refine testkit (#3177) 2017-04-29 23:20:49 +08:00
dab95523c0 fixed comments warning in ast (#3185) 2017-04-29 23:15:32 +08:00
c32145639e fix comments mistake in model (#3183) 2017-04-29 07:27:00 -05:00
892e3a8d18 fix table comments (#3184) 2017-04-29 06:51:26 -05:00
21c3274919 uncomments test brought by (#3137) (#3180) 2017-04-29 06:31:15 -05:00
a9a33b0209 fix typo (#3179) 2017-04-29 00:24:27 +08:00
9a3dde0a99 doc: add code review guide. (#3166) 2017-04-29 00:07:30 +08:00
0595143194 *: add Process_priv column to mysql.user (#2994) 2017-04-28 22:35:46 +08:00
441f4b60ee store, tikv: let client of mock-tikv support dag req. (#3172) 2017-04-28 20:35:44 +08:00
28be450cc9 plan, executor: refine code. (#3173) 2017-04-28 16:43:26 +08:00
f6b9dc5511 *: update vendor for dag req. (#3171) 2017-04-28 16:23:41 +08:00
398d1c6bb7 *: remove make.cmd (#3168)
As it is too expensive to support windows right now, keep this file is misleading.
2017-04-27 23:55:46 +08:00
0e2ca053e1 vender: Udpate the package of etcd (#3162) 2017-04-27 23:33:12 +08:00
c646b59927 *: fix data race in join. (#3159) 2017-04-27 23:26:15 +08:00
883ea490c9 *: make contribution more newbie friendly (#3102) 2017-04-27 23:17:32 +08:00
ea310f614c executor, store: let old plan use old store. (#3160) 2017-04-27 20:50:10 +08:00
350c79382a *: support new table reader executor. (#3133) 2017-04-27 13:27:26 +08:00
42bff4ad1a plan: new plan supports apply. (#3152) 2017-04-26 22:42:30 +08:00
4822322718 add buildin function UTC_TIME (#3145) 2017-04-26 22:07:49 +08:00
31bc1083fc plan: new plan support union scan. (#3098) 2017-04-26 15:34:38 +08:00
9e1022a90c statistics: make getIntColumnRowCount correct (#3146)
If we use a > 1 to build range in physical plan builder phase, will get (1, +∞) first, then we will get a []types.IntColumnRange like [{2, +∞}].
However, this range will call function greaterRowCount(). So the result actually is calculated as (2, +∞).
This pr is to fix this.
2017-04-26 14:47:53 +08:00
2547b86be3 parser: replace Expression with ExpressionListOpt (#3124) 2017-04-26 13:08:15 +08:00
c237781cad plan, executor: make Analyze a Plan (#3130)
* executor: remove indexExec's depedency on indexPlan

* plan, executor: make Analyze a Plan

* address comment

* address comment

* fix gofmt
2017-04-26 10:36:44 +08:00
2693f264a7 *: Add truncate function in math (#3077) 2017-04-26 10:03:32 +08:00
b08ad4069a expression: add interfaces for refactoring typeinferer (#3094) 2017-04-26 09:53:29 +08:00
45715cc925 *: improve pre-commit hook (#3151)
1. commented make test
2. improved goword test
2017-04-26 09:19:01 +08:00