Commit Graph

8026 Commits

Author SHA1 Message Date
2578ae15cd plan, executor_test: fix bug for user variable. (#3776) 2017-07-17 16:35:31 +08:00
6ea235f69f expression, executor, plan: rewrite builtin function log (#3763) 2017-07-17 16:06:47 +08:00
bc713303fc ddl: fix modify column behavior about primary / unique key (#3748) 2017-07-17 15:49:57 +08:00
fc39d7dfa7 domain: shorten the period of stats dump. (#3768) 2017-07-17 15:06:54 +08:00
5a3a8b0c29 expression, json: fix a bug of json_unquote. (#3764) 2017-07-17 14:29:18 +08:00
88616f0433 parser, session: fix wrong comment in selection field (#3767) 2017-07-17 13:55:26 +08:00
2cef5c15b3 server: fix an Error Format (#3769) 2017-07-17 13:23:04 +08:00
9436c49dc7 expression, executor, plan: rewrite builtin function asin (#3765) 2017-07-17 10:37:42 +08:00
0291153792 plan: refine join cost model. (#3761) 2017-07-15 20:21:06 +08:00
c49bc64465 expression, executor: rewrite built-in bit_length func. (#3722)
* expression,executor: rewrite builtin func lower and upper.

* expression: fix field type for builtin func lower and upper.

* expression: fix bugs for test case.

* expression, executor: refactor builtin func for lower and upper.

* expression, executor: rewrite test case.

* expression: fix bugs for builtin func lower and upper.

* express, executor: rewrite built-in bit_length func.

* expression, executor: fix testcase for bit_length.

* expression, executor: fix bugs for built-in func bit_length.

* expression, executor: fix bugs for built-in bit_length.

* expression, executor: add test case varbinary for built-in func bit_length.

* expression, plan: field length bugs for built-in func bit_length fixed.

* expression: remove unnecessary type check for built-in func bit_length.
2017-07-15 10:36:31 +08:00
76cc17ebf7 parser: support username without quotes (#3742) 2017-07-15 10:16:24 +08:00
d925b59702 codec: let it panic when we try to encode a unspecified decimal. (#3695) 2017-07-14 23:29:05 +08:00
c34eead4ad executor, plan: refine typeinfer when UNION (#3756) 2017-07-14 22:09:44 +08:00
c3b1db158f tidb: Return immediately after upgrading (#3755) 2017-07-14 18:33:47 +08:00
7db25f45c8 plan, expression: improve merge join with multiple keys. (#3737) 2017-07-14 16:28:50 +08:00
ddc104a2a6 parser: support for setting global variable with on and off (#3631) 2017-07-14 11:16:59 +08:00
e88919f5e5 expression, executor: rewrite built-in function uuid. (#3721) 2017-07-14 10:48:58 +08:00
42637f9e29 domain: fix a bug (#3750) 2017-07-13 22:53:32 +08:00
6d6bc24f90 expression: add unit test for builtin_other.go (#3741) 2017-07-13 22:51:01 +08:00
7294232a9e *: rewrite compare functions using new expression evaluation architecture (#3714) 2017-07-13 19:46:46 +08:00
c559bb4fb6 store/tikv: add raw scan support. (#3707) 2017-07-13 19:18:36 +08:00
fefbc3ce69 expression: UPPER and LOWER should return a binary string when input is a binary string (#3744) 2017-07-13 18:44:41 +08:00
ec796ba999 plan, statistics: begin to use statsProfile to estimate count and cardinality. (#3728) 2017-07-13 16:57:27 +08:00
3602c20225 expression: add unit test for builtin_info.go (#3735) 2017-07-13 13:21:17 +08:00
0da3efabdb expression, executor: rewrite builtin func log10 (#3733) 2017-07-13 12:16:55 +08:00
f9c62ee67e statistics: add test (#3727) 2017-07-13 11:38:32 +08:00
4b16708bd2 parser: add syntax support for show charset (#3726) 2017-07-13 10:41:10 +08:00
d99f2974fb expression: add unit test for function CASE (#3730) 2017-07-12 23:34:48 +08:00
c7b48175be vendor:update go source to support mvcc tool for debug (#3717) 2017-07-12 20:06:42 +08:00
300dd5c7c1 expression, executor, plan: rewrite builtin function substring/substr. (#3711) 2017-07-12 18:22:21 +08:00
f024ebbdca *: support show stats_buckets (#3720) 2017-07-12 17:37:53 +08:00
1e1d01ad10 executor: fix explicitly insert null value into timestamp column (#3646)
create table t (ts timestamp);
insert into t values (null);
This should insert a null rather than default value.
2017-07-12 17:13:23 +08:00
a0dfa040ef table,tablecodec,util/types: make it possible to read empty enum value (#3664) 2017-07-12 16:42:28 +08:00
9e6cc3a477 plan: call the prepareStats but not use it yet. (#3719) 2017-07-12 14:09:15 +08:00
186a1f1209 util: improve the test coverage (#3718) 2017-07-12 12:45:37 +08:00
d309490b6a server,expression: fix CI and make golint happy (#3723) 2017-07-12 11:40:14 +08:00
954ff094df server: escape database name "use xxx" in OpenCtx (#3713) 2017-07-11 19:36:58 +08:00
c8feff878f conn: fix database info leaking problem (#3699) 2017-07-11 17:39:35 +08:00
f212ef1705 * support show stats_histogram (#3683) 2017-07-11 15:49:11 +08:00
6f6bd5cba5 expression, executor: rewrite builtin function TO_BASE64 (#3598) 2017-07-11 14:56:26 +08:00
1fbcb6252e expression, executor, plan: rewrite builtin function replace. (#3702) 2017-07-11 14:01:31 +08:00
c65ada3ae9 expression,executor: rewrite builtin func LOWER and UPPER. (#3550) 2017-07-11 13:39:18 +08:00
fd7fcdee8d expression, executor: rewrite builtin function CONCAT_WS (#3558) 2017-07-11 13:23:43 +08:00
cf6b839b1f privilege/privileges: fix a data race in test code (#3706) 2017-07-11 12:51:00 +08:00
18f6f66a16 executor, expression: fix cast(-1 as unsigned)(#3704) (#3705) 2017-07-11 11:35:56 +08:00
1be80ab614 Simplify readme (#3701) 2017-07-11 11:25:06 +08:00
cfd2515a75 tidb-server: fix incorrect error message when auth failed (#3696) 2017-07-11 10:41:33 +08:00
1cc00cdd57 privilege/privileges: skip privilege check for information_schema database (#3675) 2017-07-11 10:28:12 +08:00
58b003db74 server: close connection after sending ERR_Packet (#3678) 2017-07-10 20:49:10 +08:00
d4b35c7806 executor, expression: rewrite builtin func left and right (#3540) 2017-07-10 20:28:12 +08:00