bd28eb0dea
revert pr 6621 ( #6690 )
2018-05-30 17:35:15 +08:00
950268b2aa
executor: don't output foreign keys in show create table statement. ( #6693 )
2018-05-30 16:14:51 +08:00
d963ee7348
parser: support 'ALL' for 'BIT_AND', 'BIT_OR', 'BIT_XOR' ( #6685 )
2018-05-30 14:03:48 +08:00
b5fa023caa
util: Fix range construction for in predicate ( #6667 )
2018-05-30 13:36:13 +08:00
ce071f5dd3
refactor load data ( #6665 )
2018-05-29 21:19:14 +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
33b2a7abbf
plan: fix row count estimation for limit ( #6679 )
2018-05-29 20:17:14 +08:00
0969cd5349
plan: Fix the empty result of join ( #6669 )
...
* plan: make "Position" starts from 0
2018-05-29 16:29:47 +08:00
93efc51b96
*: unify the connection ID format in log ( #6670 )
...
Makes tracing the events of a session easier.
2018-05-29 00:31:16 +08:00
36c3f0dd36
split write.go ( #6660 )
2018-05-28 14:29:42 +08:00
a214b754d1
plan, cmd: plan, cmd: improve the code readability of planner ( #6654 )
2018-05-28 13:29:54 +08:00
4607251d23
metrics:fix add index duration bucket dosen't work ( #6478 )
...
* fix add index duration bucket dosen't work
2018-05-28 10:33:00 +08:00
eaf82968c4
Executor: fix affected rows count when update ( #6656 )
2018-05-28 10:24:39 +08:00
d3a69d8b04
*: set rollback log to debug level ( #6653 )
2018-05-26 22:11:27 +08:00
1a7e9ecf52
Makefile: update coverage ignore list ( #6651 )
2018-05-26 21:27:48 +08:00
fbba541156
*: move basic functions and definitions to model package, to make constructing dag request more easier. ( #6652 )
2018-05-26 20:39:22 +08:00
ff7c0cedb8
plan, parser: support JOIN hint for UPDATE/DELETE statements ( #6626 )
2018-05-25 14:00:57 +08:00
2bcef0fe71
server: support ComChangeUser ( #6623 ) ( #6638 )
2018-05-24 19:09:45 +08:00
9150b0f25e
executor, expression: fix a panic of MAX/MIN ( #6632 )
2018-05-24 18:28:32 +08:00
cf0e1c9743
plan: fix a bug in rebuildRange when enabling prepare-plan-cache. ( #6637 )
...
* plan: fix a bug in `rebuildRange` when enabling prepare-plan-cache.
2018-05-24 17:24:30 +08:00
21135fa5b2
store/tikv/gc_worker: Create new backoffer for each region ( #6438 )
2018-05-24 16:49:13 +08:00
b314e120ec
ddl:add check invalid update column test ( #6567 )
2018-05-24 16:41:43 +08:00
067daa4ff7
expression: push CEIL down to TiKV ( #6607 )
2018-05-24 16:12:58 +08:00
a4715d5d75
*: unflatten datum in checkIndexAndRecord, to fix admin check table false alarm ( #6625 )
2018-05-24 15:56:02 +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
30fe5262b5
fix show create table display mistake ( #6630 )
2018-05-23 22:31:06 +08:00
bcd3750f4b
stats: refine stats log level ( #6627 )
2018-05-23 20:33:30 +08:00
426ae62f9e
expression: fix wrong result of floor ( #6620 )
2018-05-23 14:42:42 +08:00
d1bd647732
support high_priority for delete/update/replace into ( #6592 )
2018-05-23 12:35:16 +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
f400c64e26
chunk: fix delete index in year type; ( #6611 )
2018-05-23 00:07:43 +08:00
ac5020dc33
server: do not log write error during hand shake. ( #6605 )
...
If the handshake failed, we write error message to the connection, if the write returns error, we don't need to log it.
2018-05-22 22:34:49 +08:00
879db103b3
http: support change log level. ( #6604 )
...
So we don't need to restart the server to change the log level, useful for debug.
2018-05-22 22:04:09 +08:00
b38e2caaab
plan: make the cost more resonable. ( #6608 )
2018-05-22 18:12:59 +08:00
2219be27c5
sessionctx: make tidb_max_chunk_size as a global variable ( #6585 )
2018-05-22 16:45:57 +08:00
93f27dc50e
expression: fix wrong result of CEIL ( #6598 )
2018-05-22 13:39:04 +08:00
d965658251
executor: fix a bug of duplicate key update ( #6589 )
2018-05-22 13:00:08 +08:00
7853035f8a
stats: fix estimation for between row count ( #6596 )
2018-05-22 11:07:28 +08:00
b2d6466016
update gitignore ( #6599 )
2018-05-22 10:52:36 +08:00
7fbbb1ff3e
sessionctx/binloginfo: add a timeout for writing binlog ( #6587 )
2018-05-21 17:21:34 +08:00
a37695f1e7
model: adding a variable to aovid compatible issue ( #6586 )
2018-05-21 14:27:42 +08:00
b32d6cf712
expression: set pb code for builtinArithmeticDivideDecimalSig ( #6583 )
2018-05-20 21:30:49 +08:00
b4c0e6ca24
DDL: Refine error message about "Invalid default value" ( #6333 )
2018-05-20 16:42:09 +08:00
65131a44a0
server: support binary time type ( #6516 )
2018-05-20 11:13:02 +08:00
dcb2779e2b
session: restore unit test function TestBootstrapWithError ( #6580 )
2018-05-19 22:21:02 +08:00
6f655593b5
sessionctx: make tidb_build_stats_concurrency global ( #6558 )
2018-05-18 18:45:47 +08:00
f701c4a51d
executor: rewrite TestNotFillCacheFlag to avoid data race in CI ( #6543 )
2018-05-18 16:36:10 +08:00
ec06a514a7
parser: support 'use index' in delete statement from single table ( #6570 )
2018-05-18 14:56:17 +08:00