f403dcfd4b
typeinferer: Fix schema() function type infer bug ( #2181 )
2016-12-06 15:44:33 +08:00
4da8cfd3fa
executor: Fix the bug in the statement of "on duplicate..." ( #2179 )
...
* executor: fix the statement of "on duplicate..." when updating the PK
handle
2016-12-06 14:04:32 +08:00
ffa2944d04
circleci: Remove useless http parameter ( #2169 )
2016-12-06 13:45:53 +08:00
8e2c8362d4
Support builtin function schema() ( #2173 )
2016-12-06 13:34:52 +08:00
d24f64615a
util/types: mysqlTime implements TimeInternal interface ( #2142 )
2016-12-06 10:59:10 +08:00
e386ccc074
store/tikv: switch case when on. ( #2171 )
2016-12-05 20:51:30 +08:00
93ae13ac57
*: Add circle ci status icon ( #2168 )
2016-12-05 14:47:03 +08:00
fb12b1a510
ddl: pass data race ( #2167 )
2016-12-05 11:38:33 +08:00
fb6ae5acd3
executor: fix a problem that may cause system hang. ( #2163 )
2016-12-05 10:23:26 +08:00
c95ac0a571
tidb-server: disable log highlight when using log file ( #2164 )
2016-12-05 00:05:07 +08:00
c2c259b45d
plan: we won't prune expression that contains set var ( #2160 )
2016-12-04 16:51:58 +08:00
f42d3b2bcc
*: Support the statement of "alter user" ( #2144 )
2016-12-03 14:01:38 +08:00
e02c2688bd
ddl: use hookCtx in test ( #2159 )
...
hook function will be called by ddl worker goroutine. use the same context can cause
context be committed more than once time.
2016-12-02 23:56:44 +08:00
74a1c9935d
*: add StatementContext argument to functions. ( #2157 )
...
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
071caf940e
plan: support pushing agg across projection. ( #2156 )
2016-12-02 22:56:25 +08:00
fa4bdc766d
executor: support the statement of 'set password ... ' and fix issue 2153 ( #2155 )
2016-12-02 18:34:20 +08:00
5738e7fc18
plan: support pushing agg past union all. ( #2150 )
2016-12-02 18:16:51 +08:00
d1b5f05a88
plan: Fix date_format type infer ( #2152 )
...
See: http://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_date-format
2016-12-02 14:21:48 +08:00
8f499c9a43
ci: Add circleci ( #2154 )
2016-12-02 14:09:12 +08:00
850b29e98b
plan: update gby cols for pushed agg. ( #2145 )
2016-12-01 19:23:14 +08:00
57b201ebac
mysql: tiny clean up ( #2148 )
2016-12-01 19:16:46 +08:00
e288b3563f
types/util: use statement context to handle truncate error. ( #2147 )
...
use statement context to handle truncate error in ConvertTo MyDecimal.
2016-12-01 19:11:07 +08:00
3a721da8fc
*: fix cast decimal allocates large memory. ( #2146 )
...
If precision is too large, encode decimal allocates large amount of memory.
This commit set cast decimal unspecified length to default decimal length (10),
also add check on precision and frac on `MyDecimal.ToBin`.
2016-12-01 17:37:10 +08:00
28a7bac17c
store/tikv: fix retry open store ( #2122 )
...
* store/tikv:fix retry open store
2016-12-01 14:12:21 +08:00
ad30a5b18f
plan: fix the value of attribute correlated of HashAgg ( #2140 )
2016-12-01 11:31:36 +08:00
1bca024601
parser: parse more PARTITION option ( #2133 )
2016-12-01 00:24:20 +08:00
0b828d46f8
*: add context in baseplan, extract constant folder. ( #2135 )
2016-12-01 00:17:55 +08:00
ca700d2c75
parser: fix wrong offset for token inner mysql comment ( #2141 )
2016-11-30 22:29:07 +08:00
e321a72998
executor: fix the error when union_scan's src is mem table. ( #2138 )
2016-11-30 21:27:00 +08:00
33dc01f564
plan: fix panic when explain ( #2136 )
2016-11-30 19:12:33 +08:00
169f0060e6
domain: remove a debug log ( #2139 )
2016-11-30 17:44:26 +08:00
d5afd1aa92
store/tikv: encode keys before save to mvcc store. ( #2108 )
...
* store/tikv: encode keys before save to mvcc store.
2016-11-30 14:18:55 +08:00
bb203afad4
executor: fix data race ( #2134 )
2016-11-30 11:54:05 +08:00
9311ce64fd
executor: fix a bug when join exists in subquery. ( #2106 )
...
* executor: fix a bug when join exists in subquery.
2016-11-30 10:40:22 +08:00
296f4a6cf3
util/types: refact Time introduce a TimeInternal interface ( #2098 )
...
Go time representation is not compatible with mysql, this
commit is a prepare before the code refact.
timeInternal is a interface for time representation, and it
would make the refact more smooth.
2016-11-29 21:04:59 +08:00
b09f97d1f4
plan/validator: add grammar check of constraints when create table ( #2129 )
2016-11-29 20:25:54 +08:00
7e2f769e54
*: remove mockContext in the package of ddl ( #2132 )
2016-11-29 19:44:15 +08:00
6ae4cfd001
*: Set the error of schema expired to retryable error ( #2110 )
...
* domain: rename an error name
2016-11-29 18:16:16 +08:00
fb6b620007
*: update ISSUE_TEMPLATE ( #2131 )
...
Most of the time, the issue is not related to go version and go env, so we move them down.
And `go version` contains operating system and processor architecture info, so we don't need
'go env' information in template.
2016-11-29 17:23:47 +08:00
9ae34add12
sessionctx/binloginfo: fix race. ( #2130 )
...
close DDL before set PumpClient to nil.
2016-11-29 17:21:34 +08:00
ebfcd3df92
validator: check duplicate key cols when create table ( #2123 )
2016-11-29 15:58:55 +08:00
b314115059
*: Fix a typo in information_schema.columns table column name ( #2126 )
2016-11-29 15:23:19 +08:00
ebcf494e69
plan: cut unuseful search branch to improve performence. ( #2124 )
2016-11-29 15:00:09 +08:00
704a963f70
server: Enlarge token from 100 to 1000 ( #2125 )
2016-11-29 14:30:28 +08:00
5230f5eabd
variable: define StatementContext. ( #2121 )
...
StatementContext is used to hold statement execution mode and state.
As every computation need this, there are many API changes.
2016-11-29 14:25:38 +08:00
e0c9aa71f2
plan: fix a resolve bug. ( #2113 )
2016-11-29 12:03:18 +08:00
36a16d3ee8
parser: handle PARTITION keyword generated by mydumper ( #2115 )
...
* parser: parse PARTITION keyword generated by mydumper
2016-11-29 11:29:04 +08:00
24fb8c9752
Add bencher for raw API ( #2109 )
...
* cmd: Add raw API bencher
2016-11-29 09:58:13 +08:00
743e58772c
plan: remove unnecessary log ( #2117 )
2016-11-29 08:26:21 +08:00
c4d3d5d08a
store/tikv: enable test. ( #2114 )
2016-11-28 21:55:48 +08:00