Commit Graph

290 Commits

Author SHA1 Message Date
fce58065d7 parser,plan,ast: fix #4239, concatenates string literals which placed each other, and use first string as projection name (#4252) 2017-08-21 12:37:27 +08:00
3e1728b4b8 plan: let union plan not change the original type. (#4235) 2017-08-18 20:00:01 +08:00
43215118af *: support time constant push down in mocktikv (#4176) 2017-08-18 14:15:41 +08:00
b6c65888ba expression: rewrite builtin function: INET_ATON, INET_NTOA, INET6_ATON, INET6_NTOA (#4130)
* rewrite builtin ip functions
2017-08-15 12:39:01 +08:00
678c6924be *: support priority for SELECT HIGH_PRIORITY statement (#4119)
*: support priority for SELECT HIGH_PRIORITY statement
2017-08-10 01:09:57 -05:00
f0fd27c5b5 expression: rewrite builtin function: SLEEP (#4096) 2017-08-09 19:37:17 +08:00
973565e29a domain: Fix the correctness issues after using etcd to sync schema version (#4073) 2017-08-09 17:09:52 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
171c47857f executor: fix double desc read. (#4087) 2017-08-08 20:12:10 +08:00
3c11ac5128 *: fix race with atomic global variables. (#4076)
* fix race.
2017-08-08 14:30:04 +08:00
d880419acf plan: use the literal value as column name in SELECT when it is NULL of STRING (#3994) 2017-08-07 21:36:46 +08:00
feecc6ed02 plan: fix bug when access cond is not scalar function (#4044) 2017-08-05 17:28:31 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
ab53786d33 *: Define the schema change at the table level (#3999) 2017-08-04 17:53:38 +08:00
3d8d1d6f45 *: refine tests. (#4016) 2017-08-04 00:15:20 +08:00
9a40975437 executor, expression: fix floor and ceil when handle int overflow (#3980) (#3981) 2017-08-03 19:01:00 +08:00
722c450ec3 executor: Make union test stable (#4001) 2017-08-03 13:57:39 +08:00
3243b46b62 types: handle zero value in RoundFrac (#3989) 2017-08-02 20:59:33 +08:00
8adac8fe6c *: set low priority for expensive SQL and high priority for point get (#3881) 2017-08-02 13:53:36 +08:00
6921161fde types, expression: cast string as time (#3977)
fix issue #3942
TiDB doesn't treat '.' as a special point, '.' is the fractional seconds part delimiter
2017-08-01 23:35:20 +08:00
d0dcb5b0a6 expression, parser: fix issue #3691, cast compatibility (#3894) 2017-08-01 16:47:38 +08:00
01c1d4c5c5 executor: truncate the trailing spaces for "CHAR[(M)]" types (#3878) 2017-08-01 16:15:25 +08:00
2745333435 parser,plan: support \N shortcut for null (#3943) 2017-08-01 14:16:43 +08:00
3527750130 expression, executor, plan: rewrite builtin function trim. (#3936) 2017-08-01 10:54:31 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
9f66dd1931 expression, executor, plan: rewrite builtin function ltrim and rtrim. (#3939) 2017-07-30 21:10:38 -05:00
8df4f7f753 expression, executor: revert typeinfer of cast and binary ops && add TestUnaryNot (#3941) 2017-07-29 09:44:45 +08:00
240dcf8bc1 *: rewrite bitNeg using new expression evaluation architecture (#3937) 2017-07-28 19:14:55 +08:00
640e34dc97 *: rewrite unary not using new expression evaluation architecture (#3925) 2017-07-28 15:34:51 +08:00
e4c104b291 expression, executor, plan: rewrite builtin function PI (#3846) 2017-07-28 11:30:10 +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
0d9ea869c2 *: fix set/get var race (#3913)
* *: fix set/get var race
2017-07-27 16:08:20 +08:00
fb16e7364c *: rewrite bitOr using new expression evaluation architecture (#3904) 2017-07-27 14:33:10 +08:00
df4d25b8fd *: rewrite bitXor using new expression evaluation architecture (#3905) 2017-07-27 13:09:36 +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
5f9bcfe63c *: rewrite logicOr using new expression evaluation architecture (#3903) 2017-07-26 19:48:35 +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
96857eb021 expression, executor: password should return empty string when parameter is null (#3880) 2017-07-25 23:19:12 +08:00
d35acbdf08 types: Fix insert error when column length is zero (#3849) 2017-07-25 18:59:38 +08:00
4175a7e708 expression, executor, plan: rewrite builtin function cot (#3856) 2017-07-25 00:08:58 +08:00
ba85195520 *: rewrite builtin func andand (#3853) 2017-07-24 23:46:49 +08:00
c59d5bc6f7 parser: support two json grammar sugar. (#3854)
`select a->'$.a'` equals to `select json_extract(a, '$.a')`;
`select a->>'$.a'` equals to `select json_unquote(json_extract(a, '$.a'))`.
2017-07-24 14:01:49 +08:00
ff7de9972f expression, executor, plan: rewrite builtin function unhex. (#3830) 2017-07-20 19:56:12 +08:00
e4ea902125 expression, executor, plan: rewrite builtin function ceil (#3819) 2017-07-20 14:32:35 +08:00
37d8ea3e38 expression, executor, plan: rewrite builtin function floor (#3791) 2017-07-19 22:19:01 +08:00
e7f97522b8 expression, executor, plan: rewrite builtin function hex (#3794) 2017-07-19 17:38:12 +08:00