Commit Graph

239 Commits

Author SHA1 Message Date
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
7f3bff8afe session: do not keep history when the transaction retry is disabled (#11192) 2019-07-12 12:42:33 +08:00
a737d26e4f *: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
407e50da82 planner: generate IndexMergePath in physical optimization (#10512) 2019-07-05 14:49:54 +08:00
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
fba5e6feff lock: add delay clean table lock when session close (#11038) 2019-07-04 14:59:37 +08:00
f56ef00649 store/tikv: revert the optimization for optimistic conflicts pessimistic (#11037) 2019-07-03 16:21:20 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
08d821931d executor: fix point get snapshot TS for pessimistic transaction. (#11012) 2019-07-01 19:26:25 +08:00
1ddb317203 *: fix 'db' and 'Info' column of 'show processlist' (#10985) 2019-07-01 14:49:22 +08:00
c32db315ea session,parser: make MAX_EXECUTION_TIME sql hint and global variable work (#10963) 2019-06-28 15:17:57 +08:00
0d984d8ffc executor: locks key in point get executor for pessimistic transaction (#10972) 2019-06-28 14:06:43 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
a57b6e60a6 *: Add support for MAX_EXECUTION_TIME. (#10541) 2019-06-25 01:18:11 +08:00
12494cfa06 mocktikv: fix key exists check for pessimistic transaction (#10919) 2019-06-24 21:34:33 +08:00
91b889d2b5 store/tikv: fix insert on dup update for pessimistic transaction (#10905) 2019-06-24 14:56:46 +08:00
dceed3452b session: don't change the DDL lease when doing bootstrap (#10908) 2019-06-24 10:38:34 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
ca9da78aa6 store/tikv: unset pessimistic txn primary key when statement failed (#10867) 2019-06-20 16:16:25 +08:00
c0dc198b9b store/tikv: fix performance issue under mixed transaction mode (#10847) 2019-06-20 13:16:24 +08:00
75b9470a74 *: add a column describing memory usage for table information_schema.processlist (#10837)
*: add a column describing memory usage for table information_schema.processlist

Closes #10199
2019-06-20 11:48:49 +08:00
eed6a9efa6 session: init expensiveQueryHandle immediately after domain be initiated (#10845) 2019-06-19 13:47:41 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
04cd877967 session, sessionctx: add unit test for sessionctx, session (#10763) 2019-06-18 15:09:13 +08:00
79ae40d7b8 session: do not add history for pessimistic transaction (#10823) 2019-06-17 16:46:55 +08:00
c2152474c5 store/tikv: deduplicate lock keys (#10800) 2019-06-13 16:36:48 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
08e4bd988f store/tikv: support single statement rollback for pessimistic transaction (#10654) 2019-06-05 13:40:12 +08:00
e9ab859d1d privileges: add SkipWithGrant check for RBAC methods (#10681) 2019-06-05 10:44:27 +08:00
d71ce873bb pessimistic-txn: support deadlock detector in mocktikv (#10669) 2019-06-03 13:34:16 +08:00
7cf35f1ae6 *: preload load frequent use variable (#10463) 2019-05-29 15:40:40 +08:00
d3a750ca8f ddl, session: update logs (#10546) 2019-05-27 13:42:33 +08:00
96c6ea1ca9 *: support 'tidb_txn_mode' session variable. (#10574) 2019-05-24 00:50:04 +08:00
abd013c82f Add tidb_low_resolution_tso session scope variable on master (#10428) 2019-05-22 21:42:57 +08:00
52c9d03a5e support view related privileges in mysql.tables_priv (#9894) 2019-05-22 21:10:46 +08:00
03bdb7798a session: refine txn abort error msg (#10550) 2019-05-22 16:39:14 +08:00
a3b3326a21 store: fix data race in mock PD timeout error (#10514) 2019-05-17 14:44:19 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +08:00
118a88c860 fix pessimistic txn and run pessimistic test (#10432) 2019-05-14 14:57:54 +08:00
aafca88eda executor,sessionctx: add correctness checking for more system variables (#10396) 2019-05-12 19:29:25 +08:00
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00
b0549b7875 stats: incremental analyze for index with feedback updates (#10355) 2019-05-08 13:50:46 +08:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
041e0e9a0d planner: fix update privilege error (#10085) 2019-05-07 17:34:56 +08:00
190990b352 bindinfo: reduce duplicate DigestHash call (#10352) 2019-05-06 13:19:37 +08:00
71d15aa5a3 make tidb_disable_txn_auto_retry as it used to be (#10339)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-05-05 15:15:03 +08:00
cf0ca744a2 bindinfo: fix data race of parser in global handle (#10321) 2019-04-30 13:41:21 +08:00