Commit Graph

8026 Commits

Author SHA1 Message Date
52100cb986 Add builtin function ord (#2881) 2017-03-20 14:15:15 +08:00
c520483025 ddl: Avoid assert in the index test (#2851) 2017-03-20 14:04:07 +08:00
93083651ba http_test:wait until http is already started before http test. (#2888) 2017-03-20 13:44:47 +08:00
294334fe0b *: change standard "context" package to "golang.org/x/net/context" (#2890) 2017-03-20 13:03:51 +08:00
aaee21f864 builtin: add degrees built-in function (#2844) 2017-03-20 12:51:46 +08:00
67e89f3dd4 builtin: add elt built-in function (#2870) 2017-03-20 12:26:12 +08:00
77c21d0d34 expression: tiny cleanup (#2876) 2017-03-20 12:01:43 +08:00
e55534f1e9 varsutil: tiny cleanup (#2884)
Extract a function to check if the option is on.
2017-03-19 16:09:55 +08:00
d0699bded8 builtin: add is_ipv6 built-in function (#2872) 2017-03-19 10:03:12 +08:00
e03d952b41 builtin: add radians built-in function (#2841) 2017-03-18 13:15:55 +08:00
f380c1f315 * fix a typo in line 61 (#2871)
from "// f hold"
to     "// x hold"
2017-03-18 11:47:49 +08:00
af3fb807ed server: stop listener on critical error. (#2854) 2017-03-17 18:54:51 +08:00
826ce6fb5d builtin: add oct built-in function (#2835) 2017-03-17 18:14:58 +08:00
946f90b8c6 fix UNIX_TIMESTAMP NULL (#2852) 2017-03-17 17:40:10 +08:00
5f9d680a00 expression: keep the return value of builtin conv consistent with mysql (#2842) 2017-03-17 17:12:14 +08:00
ce3f61c6b7 regions:fix bug for function not defined in make race (#2861) 2017-03-17 14:32:41 +08:00
901040ae5b builtin: add make_set built-in function (#2831) 2017-03-17 13:02:51 +08:00
e791b9a3be http: get region's info (#2774) 2017-03-17 12:08:53 +08:00
1f5e76bc9f builtin: add pi built-in function (#2836) 2017-03-17 11:57:06 +08:00
52f533ba33 *: update dockerfile and fix a make dev error (#2856)
* update Dockerfile because go 1.7 is required
* fix make error
2017-03-17 11:32:44 +08:00
aa92604c57 go 1.7 is required (#2853)
go 1.7 is required because package "context" is used in session.go:21:2
2017-03-16 09:59:17 -05:00
961386d31d builtin: add exp built-in function (#2847) 2017-03-16 07:50:15 -05:00
6c59d520e6 *: remove stats switch. (#2846) 2017-03-16 17:11:28 +08:00
66085c3f12 *: add system table mysql.stats_meta (#2766) 2017-03-16 14:46:28 +08:00
a5d87a4678 implement some builtin functions: acos, asin, atan (#2828) 2017-03-16 14:31:08 +08:00
a408b86269 *: support in subquery unfolding (#2816) 2017-03-16 14:26:34 +08:00
10260db2bd table/tables: fix update unique index in transaction (#2843) 2017-03-16 12:02:50 +08:00
6e27871b63 builtin: add lpad built-in function (#2838) 2017-03-16 11:21:45 +08:00
a4dde03983 distsql: avoid ReadAll allocation. (#2813) 2017-03-15 23:51:11 +08:00
638234e713 session: log retryable errors. (#2832) 2017-03-15 21:21:55 +08:00
c93cfcb025 executor,store/tikv: fix data race (#2833) 2017-03-15 20:10:40 +08:00
88d8a841e4 store/tikv: refactor copIterator (#2804) 2017-03-15 18:37:20 +08:00
14da0e9e84 server: simplify conn.go recover. (#2827)
The runtime.Stack never return out of range size.
2017-03-15 03:18:35 -05:00
cca10bab58 table: check and truncate UTF8 string in CastValue. (#2819) 2017-03-15 11:26:19 +08:00
0ef5f8429f plan: clean code. (#2823) 2017-03-14 10:28:08 -05:00
4ef03dc65f plan: remove log (#2824) 2017-03-14 19:58:45 +08:00
4654c71b82 ddl: should not set default value to zero value. (#2822)
When adding a new column, not null is specified and no default value is provided, we
should only set `OriginDefaultValue` to zero value, not `DefaultValue`.
2017-03-14 18:53:18 +08:00
3efbbbfc13 plan: combine agg_prune and agg_pushdown. (#2820) 2017-03-14 14:38:28 +08:00
33cd76f105 server: avoid a panic in exception handling (#2818) 2017-03-14 10:20:10 +08:00
560af6cb14 ddl: make reorg test stable (#2815) 2017-03-13 16:12:12 +08:00
8eec966d84 fix a typo (#2814)
fix a typo from 'convertion' to 'conversion' in line 24
2017-03-12 05:46:22 -05:00
27544378d2 ddl: don't support modifying the type definitions from Null to Not (#2810) 2017-03-11 22:23:23 +08:00
8b0efb7530 vendor: update kvproto (#2812)
Use shared bytes for coprocessor.Response.
2017-03-11 21:22:49 +08:00
779a38b61c *: parse and ignore lock option in alter table statement (#2811) 2017-03-11 15:47:28 +08:00
42cd9ac552 *: add flag to control agg push down (#2809) 2017-03-10 20:43:08 +08:00
b8b84dde30 util/types: convertToMysqlTime will truncate hh:mm:ss part for Date type (#2808) 2017-03-10 19:45:15 +08:00
27405e84be vendor: update tipb, use shared bytes (#2806)
Reduce memory allocation.
2017-03-10 14:40:08 +08:00
a884e170c3 parser: QUOTE is not a keyword (#2805)
Fix https://github.com/pingcap/tidb/issues/2803
2017-03-10 14:07:54 +08:00
51fce6fd51 plan: fix bug about column prunning. (#2796) 2017-03-09 15:40:16 +08:00
a90b0b18a3 plan: fix column prunning test. (#2801) 2017-03-09 15:23:43 +08:00