a947590b14
stats: update the way of using index feedback ( #7488 )
2018-09-13 19:02:32 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
b58a977289
type: make decimal default precision visible in show create table ( #7667 )
2018-09-12 10:29:07 +08:00
5ad005b941
types,expression: Fix parse time from string ( #7654 )
2018-09-11 14:00:25 +08:00
30ae420242
expression: support builtin function json_contains_path ( #7596 )
2018-09-09 12:32:15 +08:00
3f5bd3bb28
expression: support builtin function json_contains ( #7443 )
2018-09-07 12:45:13 +08:00
40a4a2dfe8
fix compatibility bug with convert string to int return wrong result ( #7483 )
2018-08-31 14:47:01 +08:00
db873d68f3
infoschema: set right columns in infoschema by differ type ( #7463 )
2018-08-24 13:15:21 +08:00
98d2a03136
session:don't use utc to created a customized timezone but empty string ( #7424 )
2018-08-21 17:31:29 +08:00
1dc41d8b79
add logs for replace and insert on dup ( #7436 )
2018-08-21 12:43:41 +08:00
233660af69
Revert "*: add a String method for Datum to make the log more friendly ( #7426 )" ( #7435 )
...
This reverts commit 7773b283907017ccf4835e22091c7a0508cf5383.
2018-08-20 15:17:17 +08:00
7773b28390
*: add a String method for Datum to make the log more friendly ( #7426 )
2018-08-20 14:09:26 +08:00
6e7d75299d
test: refine test ( #7414 )
2018-08-16 17:05:59 +08:00
7f286f5c12
types: add one more space to make json pretty ( #7389 )
2018-08-16 11:04:39 +08:00
29addca221
stats: log detailed stats info for query feedback ( #7293 )
2018-08-15 22:01:44 +08:00
f98ef22ded
expression, executor: add a new interface MergePartialResult for the new aggregation framework ( #7281 )
2018-08-13 14:54:06 +08:00
e5f26cdeaf
types: fix a bug in decimal multiplication ( #7208 )
2018-07-31 22:15:27 +08:00
a8012590dc
*: fix union result when mix signed/unsigned columns ( #7112 )
2018-07-30 13:48:44 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
417f58228c
types: fix a bug in decimal modulo operation ( #7113 )
2018-07-26 10:56:51 +08:00
ec8fb0d38c
*: refine IntColumn <cmp> NonIntConstant ( #7108 )
2018-07-26 09:40:47 +08:00
00dd2aaef0
types: remove unused datum_eval method and testcase. ( #7070 )
2018-07-17 17:33:58 +08:00
9cf670a324
*: cut off duration.fsp in chunk ( #7043 )
2018-07-17 15:36:27 +08:00
5f7fc80389
expression, types: fix decimal minus/round/multiple result ( #7001 )
2018-07-12 00:02:19 +08:00
753b295877
executor, types: fix bug of insert into unsigned float/double ( #6939 )
2018-06-29 14:48:16 +08:00
39d00d35aa
sqltostr: fix str_to_date('2018-6-14', '%Y-%m-%d') bug ( #6919 )
2018-06-28 21:38:06 +08:00
cb45eaa7f8
*: update errcheck rule ( #6876 )
2018-06-22 09:48:11 +08:00
96a5109ebb
types: handle NULL datum if we need convert it to string. ( #6761 )
...
* types: handle `NULL` when we need to
2018-06-06 20:15:48 +08:00
30f16016d1
types: fix unsigned decimal check and negative overflow bugs ( #6721 )
2018-06-04 15:04:03 +08:00
55dd23fde1
types: check correctness of decimal's exponent part ( #6631 )
...
* decimal overflow check.
* add more test case for strToInt
2018-05-29 20:53:06 +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
d53e7d6873
Makefile: fix 'errcheck' after github.com/kisielk/errcheck is updated ( #6574 )
2018-05-18 13:01:58 +08:00
3db7594fa5
*: Refine error message about "Out of range value for column" ( #6334 )
2018-05-09 15:00:52 +08: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
9fbf8a6637
stats: dynamically update the average column size ( #6170 )
2018-04-13 16:31:43 +08:00
1b3440cc85
types: fix unsigned decimal ( #6104 )
2018-03-31 16:53:14 +08:00
9ca8689582
types: handle truncate error in BinaryLiteral.ToInt ( #6163 )
...
Truncate error make be treated as warning, we should handle it in `BinaryLiteral.ToInt`.
And compare BinaryLiteral directly instead of converting to uint64 because that the compare function doesn't have statement context.
2018-03-28 14:44:53 +08:00
5445e17fac
*: fix in-compatible behavior when modify value from Navicat GUI ( #6105 )
2018-03-22 15:38:27 +08:00
4241d70646
types: support converting json to float64 ( #6081 )
2018-03-22 13:37:53 +08:00
d68bf86896
*: remove useless code ( #5343 )
2018-03-21 10:59:23 +08:00
11616c46c0
types,expression: make 'invalid time format' error log more friendly ( #6069 )
2018-03-17 06:40:37 -05:00
45dc066401
codec: improve the performance of decoding decimal ( #5921 )
2018-02-28 20:21:31 +08:00
eaef520634
types,executor: treat decimal truncate as warning in update ( #5801 )
2018-02-08 15:55:52 +08:00
469b246965
types,expression: make ConvertToTime unaffected by location ( #5741 )
2018-02-01 06:22:59 -06:00
88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
236e50a493
format error message when meet datum conv failure ( #5689 )
2018-01-22 12:18:54 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
5db9ac2506
types,util/chunk: refactor Time for Chunk. ( #5571 )
2018-01-09 10:12:27 +08:00
eddff3429a
*: importing data reduce memory allocations. ( #5549 )
2018-01-07 12:48:07 +08:00