eadee48cc5
tidb-server: fix wrong help prompt about store ( #19375 )
...
* fixd wrong help prompt
* fix wrong help prompt
* add space
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 17:49:22 +08:00
15ff461530
expression: set correct collation in InferType4ControlFuncs ( #19483 )
2020-08-27 16:52:55 +08:00
2aa64f562b
test: stabilize leak test ( #19526 )
2020-08-27 16:39:27 +08:00
db3c96b3ff
executor: add transaction commit runtime information in slow log ( #19366 )
2020-08-27 16:18:47 +08:00
bba4c64a00
executor: fix alter user statement for user() and current_user() ( #19345 )
2020-08-27 15:55:19 +08:00
b78f4896fe
statistics, util/ranger: improve selectivity calculation for DNF filters ( #18741 )
2020-08-27 15:40:12 +08:00
eac912c333
planner: stabilize test TestPrepareOverMaxPreparedStmtCount ( #19515 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-08-27 15:22:22 +08:00
9ed4159619
server: listen port 0 when testing ( #19478 )
...
* server: change all port uesd in test to `0`
* fix panic
Co-authored-by: wjHuang <huangwenjun1997@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 14:55:52 +08:00
547c5b14cf
executor: partition table reader below apply should reset in Open ( #19514 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 14:41:01 +08:00
253d43fb51
*: add execution retry count in slow log and slow_query ( #19487 )
2020-08-27 14:18:06 +08:00
1417991cef
executor: reset INLJ.task when Close ( #19513 )
2020-08-27 14:05:36 +08:00
d76f5b59a5
txn: log warn only for user transaction if schema checker is not set ( #19497 )
2020-08-27 13:13:46 +08:00
089c6a42fc
tikv: backoff and do not drop cache on MaxTimestampNotSynced region error ( #19473 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2020-08-27 11:35:21 +08:00
e356136b72
*: annotate execution info in runtime/trace ( #19407 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 11:23:36 +08:00
deec855913
executor: fix incorrect results when there is an IndexLookUp under the inner side of an Apply ( #19496 )
2020-08-27 11:11:23 +08:00
933c0667bf
executor: reduce parameter count for detach ranges methods ( #19486 )
...
* executor: add merge flag
* use fields to pass more params
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-27 10:28:52 +08:00
945f7cc4a0
ddl, tables: support the column type change between the integer types ( #19059 )
2020-08-26 21:30:14 +08:00
602afedf84
planner: stable the test introduced by #18474 ( #19484 )
2020-08-26 21:22:51 +08:00
cf0297590e
server: fix region table http response ( #19437 )
...
Signed-off-by: disksing <i@disksing.com >
2020-08-26 20:50:52 +08:00
38c7510414
planner: use the same unique id between schema and column in ProjUponView ( #19461 )
...
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 20:00:52 +08:00
33f3843d5f
ddl: avoid DDL retry taking too long ( #19328 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-08-26 19:52:21 +08:00
0977978e73
update unistore dependency ( #19463 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 16:58:00 +08:00
cc661e0c2f
planner: make a copy of column before modifying its InOperand ( #19472 )
2020-08-26 16:43:35 +08:00
892c3a0a8d
planner: do not construct index merge join when inner is partition table ( #19440 )
...
* planner: do not construct index merge join when inner isn't range partition table
* fix
* fix
* fix
* fix
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 16:12:22 +08:00
ce1ad327d7
executor: fix wrong results when index join on union scan partition table ( #19436 )
...
* executor: fix wrong results when index join on union scan new parition table
* move partitionTableReader inner buildUnionScanFromReader
* fix conflicts
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 15:51:22 +08:00
c6b80eaeb0
ddl, planner: support ALTER TABLE without use db ( #18784 )
2020-08-26 15:33:16 +08:00
2a052443d8
executor: reset kvRange in TableReaderExec.Close ( #19447 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 15:25:40 +08:00
c8f436cbc6
executor : refine partition table read for tiflash table read ( #19406 )
...
* executor : refine partition table read for tiflash table read
* refine code
* address comments
* fix ci
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 14:29:51 +08:00
8fe2a0b5d8
statistics: drop stats should delete topn ( #18160 )
...
* statistics: drop stats should delete topn
* add rest
* fix test
* fix test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 14:15:51 +08:00
ef51ea8bef
planner: check full match of each range for BatchPointGet plan ( #19456 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 13:28:32 +08:00
d43436535a
telemetry: support collecting RAID information to CLUSTER_HARDWARE ( #19171 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 12:04:51 +08:00
eff7837795
executor: support 'recover index' in clustered index tables ( #19284 )
...
* support 'recover index' in clustered index table
* ddl: add truncate to buildCommonHandleFromChunkRow
* executor: truncate the updated handle
* executor: set core.HandleCols in the initialization of RecoverIndexExec
* refine code
* remove unused code
* fix integration test
* fix integration test
* address comment
* early return when recovering clustered pk
* remove panic
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 11:51:52 +08:00
d355b82f1c
expression: unicode_ci support when infer collation and charset information ( #19142 )
...
* add mix unicode_ci collation support
* comments change
* bug fix
* add test
* refactor illegal mix collation message
* fmt
* fix check
* fmt
* refactor infer collation
* refactor infer collation
* add charset info
* address comments
* return bin if something wrong
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 11:08:21 +08:00
7c5cfd7bff
server: change dispatch failed log to info level ( #19217 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-08-26 10:03:00 +08:00
e33e8fd559
executor: move TestForServersInfo and TestForTableTiFlashReplica to serial test suit ( #19433 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-08-26 09:49:21 +08:00
9e6688c1bb
executor: uncomment the join test for issue #11896 ( #19446 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 08:51:22 +08:00
1b56a070eb
util: fix typo s/goods/good and update some function ( #17612 )
2020-08-25 22:34:32 +08:00
0eeafb432c
metrics: add alert rule for process restart ( #19154 )
2020-08-25 22:08:21 +08:00
bb0b1e4fe5
ddl: initialize infosyncer for placement logic ( #19441 )
2020-08-25 21:56:05 +08:00
04176779e4
executor: validate 'set tidb_enable_parallel_apply' ( #19379 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 19:26:51 +08:00
69bfa3bf26
executor, server: reduce connect/disconnect log spam ( #19308 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
Co-authored-by: goroutine <ngaut@users.noreply.github.com >
2020-08-25 19:17:51 +08:00
c04bda6db7
*:Speed up parse slow-log when query slow_query #15371 ( #19139 )
...
* speed up the slow log query
* speed up slow log query
* change the MaxRow num
* change channel location
* correct
* fix some bug
* fix error situation
* change ctx.Done() location
* update
* Update main.go
* change func name
* fix the len(rows)=0 bug
* remove else
* update slow_query_test
* update slow_query_test.go
* update slow_query_test.go
* update slow_query_test.go
* append offset var
* fix bug
* add notes
* remove fmt
* remove notes
* remove notes
* update
* update
* version back
* update offset
* update
* use len(log)==0 to check
* update
* update offset struct
* update offset
* defer recover
* update slow_query_test
* update offset
* remove fmt.print
* check error first
* update panic situation
* update failpoint test
* update failpoint test
* update panic test
* test
* test
* update test
* update failpoint name
* test
* update slow_query.go
* check err
* Code specification
* remove pointer
* update getLineIndex func
* update setFieldValue func
* debug
* update func name
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 19:00:22 +08:00
c4a898e5ad
expression: fix runtime error integer divide by zero ( #19398 )
...
* fix runtime error
* fix runtime error
* test for special case
* use int.min
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 18:49:21 +08:00
ee841fd963
planner: refactor buildPhysicalIndexLookUpReader for admin check ( #19424 )
...
* planner: refactor buildPhysicalIndexLookUpReader for admin check
* address comment
* tiny fix
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: Evan Zhou <coocood@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 18:26:22 +08:00
30456dfaa5
executor: Uncomment join test ( #18697 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 17:48:52 +08:00
e52cb3714e
planner: Do not pushdown unsupported function to tiflash in TopN operator ( #19363 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 17:20:18 +08:00
963b82a0d7
tidb-server: try best to get a meaningful IP ( #18786 )
2020-08-25 16:18:04 +08:00
977449f8b0
planner: fix a bug that can't find column in indexLookupJoin with virtual generated column ( #18516 )
2020-08-25 16:09:31 +08:00
2f9b81ddf6
ddl: forbid creating a column with name _tidb_rowid ( #19418 )
...
* ddl: forbid create column with name _tidb_rowid
* ddl: use a variable instead of inline const
* ddl: handle renaming
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-25 15:03:22 +08:00
e6a69309a5
range: build right range for NULL value on index column ( #19385 )
2020-08-25 13:55:49 +08:00