b5fa023caa
util: Fix range construction for in predicate ( #6667 )
2018-05-30 13:36:13 +08:00
9150b0f25e
executor, expression: fix a panic of MAX/MIN ( #6632 )
2018-05-24 18:28:32 +08:00
067daa4ff7
expression: push CEIL down to TiKV ( #6607 )
2018-05-24 16:12:58 +08:00
87ce884b2e
*:check max/min timestamp bound with timezone aware ( #6581 )
...
- mytime: max/min configure with UTC tz, convert to local tz during process starting, convert it to session tz before checking bound.
- time: so `check()`/`add()` need force pass `StatementContext` parameter.
- builtin_time: pass `StatementContext` from `b.ctx.sessionVars` into check/add.
- dump: also set timezone for StatementContext with UTC.
- *_test/mock: fix test case, make mock context with stmt TimeZone.
- add testcase for checkTimestamp and mytime convert timezone.
2018-05-24 15:27:38 +08:00
e705c18d19
expression: refine compare timestamp col with string constant ( #6621 )
2018-05-24 10:13:06 +08:00
426ae62f9e
expression: fix wrong result of floor ( #6620 )
2018-05-23 14:42:42 +08:00
4ea89b3505
expression: Fix the decimal fraction of DIV ( #6590 )
2018-05-23 11:42:37 +08:00
9f7fb424ef
expression: fix wrong result of CEIL integer ( #6606 )
2018-05-23 10:56:38 +08:00
93f27dc50e
expression: fix wrong result of CEIL ( #6598 )
2018-05-22 13:39:04 +08:00
b32d6cf712
expression: set pb code for builtinArithmeticDivideDecimalSig ( #6583 )
2018-05-20 21:30:49 +08:00
c0dea7e936
*: move leak check from each test to suite ( #6541 )
2018-05-15 20:05:03 +08:00
b3bb5e8c8f
*: support warnings when using coprocessor streaming ( #6544 )
2018-05-13 22:10:58 -05:00
877d0d4d3d
*: fix a bug occurred when insert into time column ( #6451 )
...
* *: fix a bug when insert decimal or decimal-like string into time col
2018-05-09 10:52:30 +08:00
aa76a6eeba
plan, executor: correlated column can be pushed down. ( #6403 )
2018-05-07 19:43:02 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
9fc856297c
expression: support simple expression rewriter ( #6432 )
2018-05-04 09:20:21 +08:00
5725b43c83
*: remove useless ExprType ( #6313 )
2018-04-18 18:56:43 +08:00
ffd47ec3b5
expression: refactor scalarFuncToPBExpr ( #6290 )
2018-04-18 13:33:48 +08:00
860e808e07
expression: remove mockKVClient ( #6299 )
2018-04-17 16:11:58 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
922ba2464c
*: make explicit timestamp on ( #6238 )
2018-04-11 15:36:26 +08:00
17c737b250
expression: optimize the Clone of Constant. ( #6262 )
2018-04-10 19:47:24 +08:00
76932395c3
expression: make inferring of decimal for unix_timestamp be more consistent with MySQL ( #6233 )
2018-04-09 11:40:24 +08:00
313d9d3660
parser: fix the result of cast (0x10 as binary(2)). ( #6211 )
2018-04-03 21:44:36 +08:00
67f920a650
executor: Improve the aesthetics of code review ( #6137 )
2018-03-31 17:06:19 +08:00
4f991afb10
*: session context passed to newBaseBuiltinFuncWithTp should not be nil ( #6178 )
2018-03-29 16:12:36 +08:00
12cc2dbb20
parser,expression: decimal support for interval ( #6143 )
2018-03-27 03:08:56 -05:00
6cb61dda15
expression: fix type infer for binary literal ( #6151 )
2018-03-27 11:30:00 +08:00
faeaccc35e
executor:Improve the aesthetics of code review ( #6138 )
2018-03-26 22:19:49 +08:00
5445e17fac
*: fix in-compatible behavior when modify value from Navicat GUI ( #6105 )
2018-03-22 15:38:27 +08:00
27dc8f3550
expression/agg: add ResetContext() for stream aggregation. ( #6097 )
2018-03-22 13:52:02 +08:00
d68bf86896
*: remove useless code ( #5343 )
2018-03-21 10:59:23 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
ec78f8bea3
expression/agg: add unit-test. ( #6074 )
2018-03-19 18:57:28 +08:00
eec1c524dc
util: refine Row.GetDatum when tp is MyDecimal ( #6087 )
2018-03-19 17:11:07 +08:00
11616c46c0
types,expression: make 'invalid time format' error log more friendly ( #6069 )
2018-03-17 06:40:37 -05:00
e77da7a1a7
expression: add unsigned flag when convert uintPBConstant to Expression ( #6071 )
2018-03-16 13:04:01 +08:00
9dcab918b6
expression/agg: remove useless code. ( #6075 )
2018-03-16 12:54:54 +08:00
8510bb7671
store/tikv: support retry and timeout for coprocessor streaming API ( #5965 )
2018-03-15 22:18:44 -05:00
0553deeb42
*:improve code readability and unified aliases ( #5997 )
2018-03-15 10:52:36 +08:00
337a45b961
expression: fix comparation between uint and int ( #6028 )
2018-03-13 14:38:04 +08:00
ae4300d03b
expression: Add deprecation warning for builtin function PASSWORD ( #6000 )
2018-03-13 12:37:04 +08:00
a239b772ba
expression: fix test cases in TestWrapWithCastAsTime and TestCompareBuiltin ( #6024 )
...
Those test cases use wrong timezone, they will fail when TimeZone set to Tokyo
and time.Now() is 01:04
2018-03-12 13:33:07 +08:00
9a3463fd81
distsql, mocktikv: handle warnings returned from tikv/mocktikv ( #5906 )
2018-03-06 13:20:27 +08:00
dc2bbc8c4f
expression: correct the behavior of bit aggregate function. ( #5954 )
2018-03-05 21:44:01 +08:00
45dc066401
codec: improve the performance of decoding decimal ( #5921 )
2018-02-28 20:21:31 +08:00
c16855d3ec
expression: avoid using datum in HashCode(). ( #5911 )
2018-02-27 18:58:45 +08:00
cd63332ebf
expression, plan: extract the same part from DNF's leaves. ( #5831 )
2018-02-26 16:03:05 +08:00
ba04a342c5
*:fix some ineffassign to improve GoReport Result ( #5901 )
2018-02-25 14:32:20 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00