Commit Graph

8026 Commits

Author SHA1 Message Date
2c4a46e2f0 statistics: return 1 when statistics is not ready and row count of table is 0 (#3952) 2017-07-31 14:28:04 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
0aa27c3d3d lexer: fix panic when input "'\\" (#3948)
* lexer: fix panic when input "'\\"
2017-07-31 11:35:36 +08:00
c95bc0c967 plan: implement ExplainInfo() interface for join operators (#3915) 2017-07-31 10:59:52 +08:00
c9292044fa config: set default value for QueryLogMaxlen and QueryLogMaxlen (#3947)
In the test code, those two config value is not set explicitly,
so the default value should be set.
2017-07-31 10:24:47 +08:00
9f66dd1931 expression, executor, plan: rewrite builtin function ltrim and rtrim. (#3939) 2017-07-30 21:10:38 -05:00
764e2d43e5 Update CONTRIBUTING.md (#3945)
I am seeing no_push when I followed the steps
$ git remote -v
origin	https://github.com/liangjiaxing/tidb.git (fetch)
origin	https://github.com/liangjiaxing/tidb.git (push)
upstream	https://github.com/pingcap/tidb.git (fetch)
upstream	no_push (push)
2017-07-30 10:16:34 +08:00
8df4f7f753 expression, executor: revert typeinfer of cast and binary ops && add TestUnaryNot (#3941) 2017-07-29 09:44:45 +08:00
597796e166 *: fix bad column offsets in DML. (#3754) 2017-07-28 20:56:25 +08:00
240dcf8bc1 *: rewrite bitNeg using new expression evaluation architecture (#3937) 2017-07-28 19:14:55 +08:00
b991c56d9f plan: fix name with white space at the end (#3927)
* Column, table, database names with space at the end will return error
2017-07-28 18:12:23 +08:00
53b27dd3ec tidb/config: Extract the configuration as a package and add two configurations for tidb (#3919)
add the ability to configure the slow query threshold and max log length
2017-07-28 17:01:22 +08:00
640e34dc97 *: rewrite unary not using new expression evaluation architecture (#3925) 2017-07-28 15:34:51 +08:00
bb1878d271 executor: fix bug when sort meets apply. (#3932) 2017-07-28 14:33:11 +08:00
0dbb0877e0 plan, executor: support ordered index join. (#3921) 2017-07-28 13:45:27 +08:00
e4c104b291 expression, executor, plan: rewrite builtin function PI (#3846) 2017-07-28 11:30:10 +08:00
5308024670 server/region_handler: txn debug tool for tikv (#3787) 2017-07-28 10:31:49 +08:00
e94996addf *: add parser support for multiple tables renaming (#3892) 2017-07-27 20:01:24 +08:00
4203eba42b *: rewrite logicalXor using new expression evaluation architecture (#3899) 2017-07-27 19:52:07 +08:00
b88d3c2bb1 expression, executor: fix duration column <cmp> constant(#3884) (#3918) 2017-07-27 19:13:32 +08:00
5ae3ae9e42 *: rewrite bitAnd using new expression evaluation architecture (#3901) 2017-07-27 06:01:18 -05:00
45b13118ad parser, plan, util: fix alter table does not check the field length limitation (#3859)
* fix alter table does not check the field length limitation of char/varchar
2017-07-27 17:27:50 +08:00
0d9ea869c2 *: fix set/get var race (#3913)
* *: fix set/get var race
2017-07-27 16:08:20 +08:00
c844ad7cea *: fix two error shade bug. (#3910)
* fix a json decode bug.
2017-07-27 02:40:21 -05:00
fb16e7364c *: rewrite bitOr using new expression evaluation architecture (#3904) 2017-07-27 14:33:10 +08:00
ae7c8d0d14 store/tikv: optimize testing (#3886) 2017-07-27 13:39:07 +08:00
df4d25b8fd *: rewrite bitXor using new expression evaluation architecture (#3905) 2017-07-27 13:09:36 +08:00
c6b4aa8fe5 plan, statistics: plan topn more precisely. (#3902) 2017-07-27 10:53:22 +08:00
88b5eb23f0 *: rewrite leftShift using new expression evaluation architecture (#3906)
* *: rewrite leftShift using new expression evaluation architecture

* *: rewrite rightShift using new expression evaluation architecture

* tiny change

* fix ci

* tiny change
2017-07-27 09:41:34 +08:00
488365285a *: rewrite rightShift using new expression evaluation architecture (#3907) 2017-07-26 21:13:12 +08:00
c0c95199cd plan: implement ExplainInfo() interface for simple operators (#3883) 2017-07-26 20:28:58 +08:00
5f9bcfe63c *: rewrite logicOr using new expression evaluation architecture (#3903) 2017-07-26 19:48:35 +08:00
91ba0841b0 executor, sessionctx, util: treat decimal truncation as warning during inserting (#3897) 2017-07-26 19:10:42 +08:00
ea9e894afa plan: fix typo (#3898) 2017-07-26 16:20:25 +08:00
fad1e7eca1 plan: fix cost estimation (#3896) 2017-07-26 15:24:13 +08:00
e008c6c36a expression: fix #3762, signed integer overflow handle in minus unary scalar function (#3780) 2017-07-26 11:44:00 +08:00
1f0c4cb4e1 expression, executor, plan: rewrite builtin function exp (#3871) 2017-07-26 09:59:27 +08:00
0806aac33b Index char(0) should be failed (#3864) 2017-07-26 08:23:48 +08:00
5943198358 *: Add the two states test (#3804)
* ddl: add different state tests

* ddl: update

* ddl: clean up

* ddl: add a comment

* ddl: make more readable

* ddl: add a comment

* ddl: add the error check

* ddl: address comments
2017-07-26 00:24:56 +08:00
743f5c0c2b vendor: update kvproto for support DeleteRange in future. (#3882)
* vendor: update kvproto for support DeleteRange in future.

* fix ci.
2017-07-26 00:11:22 +08:00
f38412a086 plan: add more tests. (#3885) 2017-07-25 23:55:46 +08:00
0337e201bd executor: analyze index should keep order (#3887) 2017-07-25 23:38:06 +08:00
96857eb021 expression, executor: password should return empty string when parameter is null (#3880) 2017-07-25 23:19:12 +08:00
85b0155f85 expression: fix EvaluateExprWithNull when meet cast(#3873) (#3875) 2017-07-25 21:16:34 +08:00
b938ea28ba ast: improve ast test coverage to exceed 80 percent (#3870)
ast: improve ast test coverage to exceed 80 percent

* ast: govet cleanup
2017-07-25 20:17:10 +08:00
d35acbdf08 types: Fix insert error when column length is zero (#3849) 2017-07-25 18:59:38 +08:00
71773cf33c *: change "AndAnd", "OrOr" to "LogicAnd", "LogicOr" respectively (#3874) 2017-07-25 15:53:02 +08:00
8ebe4c2549 plan, executor, expression: refactor explain (#3809) 2017-07-25 14:12:48 +08:00
101be824ac expression: make golint happy (#3872) 2017-07-24 21:38:22 -05:00
6b94f4433a plan, expression: move constant fold to NewFunction (#3868) 2017-07-25 01:22:45 +08:00