9ec16203f0
*: rewrite the logic of execute. ( #2217 )
2016-12-10 02:13:01 +08:00
b3efd4c235
util/types: fix bug parseFrac overflow ignored during time Parse ( #2197 )
...
"121231113045.9999999" should parse to
"2012-12-31 11:30:46.000000"
but we get
"2012-12-31 11:30:45.100000"
* fix and add more test
* make golint happy
* address comment
* fix bug
* address comment
2016-12-09 23:07:32 +08:00
9f48b1b2a5
ddl: fix issue #2176 ( #2214 )
2016-12-09 21:11:17 +08:00
d5cf23a838
*: non-unique index doesn't need store value, write a '0' to reduce space ( #2218 )
2016-12-09 21:02:03 +08:00
aca4151716
parser: fix parse explain union statement error ( #2216 )
2016-12-09 20:45:48 +08:00
e149b0ce87
*: rewrite the logic of do statement. ( #2215 )
2016-12-09 20:18:12 +08:00
b723e72baf
ddl: Add a check before building jobs ( #2213 )
...
* ddl: add check before building jobs
2016-12-09 18:48:45 +08:00
a14d99ef5d
server: defend panic for ill-packet with null connection attribute ( #2211 )
...
* server: defend panic for ill-packet with null connection attribute
2016-12-09 17:38:04 +08:00
99b3465c1e
ddl: allocate column ID and index ID in TableInfo. ( #2205 )
2016-12-09 12:31:27 +08:00
5917a784be
parser: fix .1_t_1_x parsed as .1 _t_1_x ( #2210 )
...
it should not be parsed as a .1(float) and _t_1_x(identifier)
instead, it should be .(dot) 1_t_1_x(identifier)
2016-12-09 11:47:46 +08:00
1e8d970b3e
store/tikv: cache store. ( #2193 )
2016-12-09 11:10:42 +08:00
107992f050
executor: remove useless file. ( #2208 )
2016-12-08 23:02:42 +08:00
292e58c2aa
*: make union execution parallel and fix a union plan bug. ( #2195 )
2016-12-08 22:45:49 +08:00
8a5a19272e
util/types: tiny clean up ( #2204 )
2016-12-08 21:10:42 +08:00
7e61f16bc1
util/types: fix floatStrToIntStr, handle large exponent corner case. ( #2199 )
2016-12-08 20:17:29 +08:00
b134396b1a
ddl: unsupport dropping the column that is pk handle ( #2203 )
2016-12-08 19:45:04 +08:00
f15333b8c7
parser: fix bug 0_x should parse to identifier ( #2200 )
2016-12-08 17:14:15 +08:00
5f53175169
kv: check iter.Next() errors. ( #2198 )
2016-12-08 14:08:59 +08:00
450c904666
domain: make test pass stably ( #2196 )
2016-12-08 11:07:29 +08:00
0302c8d061
infoschema: support infoschema.session_variables and infoschema.plugins. ( #2194 )
2016-12-07 21:48:31 +08:00
6ef340fb32
util/types: properly handle truncate error for string to float or int. ( #2186 )
...
When converting from string to float or int, use StatementContext to handle truncate error.
Also directly convert a string to Int instead converting to float first, then convert float to int.
2016-12-07 19:42:46 +08:00
f5792b5e80
*: the first setp of adding the field of history information in job structure ( #2170 )
2016-12-07 18:29:37 +08:00
90c61f0a2d
store/tikv: fix region error handling. ( #2192 )
2016-12-07 17:46:07 +08:00
379363266e
plan: optimize the filter condition push down logic when do index double read ( #2166 )
...
Origin design will put index conditions into table scan, but it can
be pushed down into index scan.
2016-12-07 17:02:16 +08:00
4f742c2b4d
store/tikv: increase epsilon for oracle test. ( #2191 )
2016-12-07 16:47:18 +08:00
8d42cc059e
vendor: update tipb, add flags and warnings. ( #2189 )
2016-12-07 16:25:21 +08:00
b47cb7b6c5
store/tikv: reduce the use of region.Clone(). ( #2182 )
2016-12-07 16:17:45 +08:00
51a10a6725
*: Fix issue #2175 ( #2188 )
...
*: fix issue #2175
2016-12-07 14:58:22 +08:00
5d68641931
store/tikv: update region error handling. ( #2178 )
2016-12-07 14:17:29 +08:00
196b6b18fe
*: Support for changing column ( #2174 )
...
*: support for changing column in parser
* ddl: support for changing column in ddl
2016-12-07 11:19:37 +08:00
4260c3b7f3
vendor: update kvproto and pd-client ( #2187 )
2016-12-07 10:22:13 +08:00
e396fbecf7
util/charset: Let charset name be insensitive. ( #2184 )
2016-12-06 18:00:50 +08:00
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