f7e22e1ebf
planner: fix {index,hash,merge} join on range suffix condition clustered index ( #23294 )
2021-03-16 17:42:55 +08:00
cad8e15db2
store/tikv: remove kv.Snaphost from store/tikv ( #23318 )
2021-03-15 18:54:55 +08:00
2bea06ed23
util, types: don't let SPM be affected by charset ( #23161 )
2021-03-12 22:39:10 +08:00
fcf60e0a27
planner, table: set PrimaryPrefixColumnIds correctly ( #23250 )
2021-03-12 21:18:55 +08:00
088fe75b1c
session: enable async commit in new clusters ( #23274 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2021-03-12 21:02:59 +08:00
035c15f7da
*: rename tiflash fallback switch ( #22886 )
...
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-03-12 18:21:48 +08:00
1d99292455
*: hide the system variables tidb_track_aggregate_memory_usage ( #23184 )
2021-03-12 17:59:21 +08:00
276dd0e69e
util: optimize the performance of restore with db ( #22910 )
2021-03-12 16:46:56 +08:00
67e4528018
executor: initialize expensive query handler on domain creation ( #21340 )
2021-03-11 16:10:55 +08:00
c22cbc0d10
executor: truncate column values from index KV during admin check ( #23218 )
2021-03-10 18:35:40 +08:00
f8da635f5a
*: refactor and fix the usages of DecodeIndexKV for clustered index ( #23096 )
2021-03-10 16:46:55 +08:00
bdfcaf883e
executor: skip lock key if lock key is empty ( #23188 )
2021-03-09 22:46:54 +08:00
a67f8e6839
planner: fix indexJoin(also hash, merge) on prefixed clustered index ( #23094 )
2021-03-09 19:42:55 +08:00
b8f6ac0dd3
*: fix wrong replace or insert-on-dup behavior on prefixed clustered index ( #23091 )
2021-03-09 16:54:55 +08:00
d29febf93f
session,util/sqlexec: clean up code for deprecated API ( #23153 )
2021-03-08 17:48:54 +08:00
707cb0a942
kv: unify the BeginWith... function into one ( #23130 )
2021-03-05 17:56:56 +08:00
5f73c822ca
kv/union_store:remove tableinfo from union_store ( #22976 )
...
Co-authored-by: disksing <i@disksing.com >
2021-03-04 16:30:42 +08:00
50aec2b2d2
planner: enable column pruning for common handle ( #22940 )
2021-03-04 14:42:54 +08:00
9768e45476
session: add a test case for issue 19127 ( #21010 )
2021-03-04 11:50:54 +08:00
6f250b625e
*: fix a bug that collation is not handle for text type ( #23045 )
2021-03-03 22:04:54 +08:00
b5a9076aea
*: new secondary index value format ( #20220 )
2021-03-03 21:16:54 +08:00
642527d740
planner: choose non-prefix column when both index key and handle have the same one ( #22980 )
2021-03-01 20:48:54 +08:00
6bd6df7d1e
planner: let tikv know primary prefix columns info ( #22829 )
2021-03-01 16:20:54 +08:00
e2fdb00e62
config: fix data race caused by config.Labels ( #22977 )
2021-03-01 16:02:54 +08:00
e1004a2ccb
*: modify the switch to control global stats ( #22866 )
2021-03-01 14:18:30 +08:00
febac515b1
store/tikv: move coprocessor out ( #22922 )
2021-03-01 11:42:54 +08:00
03109adaad
*: remove useless FIXME tip in code ( #22970 )
2021-02-26 16:18:53 +08:00
8a490e96b5
parser: quote identifier with backquote when getting SQL digest ( #22893 )
2021-02-26 14:54:54 +08:00
7151b4f3b5
config: use tidb_enable_list_partition to enable list table partition feature ( #22864 )
2021-02-25 22:11:04 +08:00
5e832ed80a
store/*: mv tikv_driver to dir store/driver ( #22942 )
2021-02-25 18:49:18 +08:00
daf3337a43
oracle: make @@txn_scope only support local and global ( #22784 )
2021-02-25 15:26:03 +08:00
1970a917c1
store/tikv: fix unstable tests in snapshot_fail_test.go ( #22916 )
2021-02-24 21:04:03 +08:00
e360454b2d
util: fix Host column of show processlist to host_name:client_port format ( #22707 )
2021-02-24 18:54:03 +08:00
b226130926
session: fix linearizability for non-autocommit async-commit txn ( #22879 )
...
* fix linearizability for non-autocommit async-commit txntxn
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* add IsExplicit flag
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* set missing cases
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* remove redundant assignment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* revert go sum change
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* fmt
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* clarify comment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-24 13:32:48 +08:00
f3fe4895cb
statistics: support to store FMSketch and add FMSketch to column stats ( #22841 )
...
* add FMSketch to mysql.stats_histograms
* statistics: support store FMSketch and add FMSketch to histogram
* FIX UT
* Create Stats_FM_Sketch Table
* fix UT
* add some tests
* FIX ut
* move fmSketch from histogram to column.stats
* remove unused code and comments
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* fix ut
* finish the FMSketch.MemoryUsage function
* add some comments for FMSketch.MemoryUsage function
* fix typo
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-23 10:39:09 +08:00
b74dfaf810
mockstore: move mockstore/cluster to tikv/mockstore/cluster ( #22856 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-22 15:42:16 +08:00
99d0b22f04
session, util: update session to use new APIs ( #22652 )
2021-02-19 13:10:30 +08:00
9cb9b69b61
session: ignore linearizability setting for auto-commit transactions ( #22746 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2021-02-18 15:02:32 +08:00
4031706e32
gcworker: remove handler interface ( #22779 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-18 12:09:31 +08:00
20ddc19f22
server: retry executing sql without tiflash after tiflash is down ( #22459 )
2021-02-05 12:14:41 +08:00
2fc1703a9c
session, exectutor: Guarantee external consistency by default; Add an explicit begin statement to disable it ( #22597 )
...
Signed-off-by: ekexium <ekexium@gmail.com >
2021-02-04 16:09:46 +08:00
343c412531
planner, executor, statistics: add tests for version 2 and fix bugs ( #22461 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-02-04 15:52:30 +08:00
93d3d04092
executor: support checking schemaVer before staleness transaction begins ( #22679 )
2021-02-04 11:48:45 +08:00
9e3c0649e4
ddl, session: add tidb_enable_exchange_partition variable ( #22638 )
2021-02-03 20:36:57 +08:00
7a275a77bb
store/tikv: move EtcdBackend out ( #22676 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-03 14:59:57 +08:00
6c1a6dd631
store/tikv: move tikv driver out ( #22651 )
...
Co-authored-by: Shirly <wuxuelian@pingcap.com >
2021-02-02 16:28:54 +08:00
7ca1629d1a
*: refactor ExecuteInternal to return single resultset ( #22546 )
2021-02-01 14:05:27 +08:00
4e471d7cb1
*: move new api out of session package ( #22591 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-30 07:24:44 +08:00
4c0fe88a71
store/tikv: resolve sessionctx dependency ( #22584 )
...
Signed-off-by: disksing <i@disksing.com >
2021-01-29 17:09:14 +08:00
ea6ccf82e9
*: refactor the RestrictedSQLExecutor interface ( #22579 )
2021-01-29 12:56:44 +08:00