Commit Graph

100 Commits

Author SHA1 Message Date
e5d5a61e13 session: use failpoint to reduce the performance impacts of test code (#14276) 2019-12-29 14:22:42 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
9e63120472 session,domain,owner: test the session package with tikv (#14149) 2019-12-24 10:40:09 +08:00
a61e3cc324 session: move the failpoint test to testSessionSerialSuite (#14089) 2019-12-17 12:30:16 +08:00
881038ee1b session: support 'GLOBAL SCOPE' for tidb_enable_table_partition (#14062) 2019-12-17 10:10:25 +08:00
3ee6bc8a21 ddl: fix the bug that VIEWs can be dropped by DROP TABLE syntax (#14048) 2019-12-13 17:07:43 +08:00
94481e883d session: if txn invalid do not active it and return an error (#13935) 2019-12-09 13:41:09 +08:00
448af254ec fix race of TestSkipWithGrant (#13923) 2019-12-05 16:10:07 +08:00
b45e8b1f9b session: move test and make it stable (#13885) 2019-12-04 15:50:09 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
5fb669b68b session: fix CI data race in TestSchemaCheckerSQL (#13859) 2019-12-03 13:09:25 +08:00
4b5ae3a34c session: refactor code to remove useless filed and return (#13841) 2019-12-01 23:01:53 -06:00
755fd1924b ddl: fix index length calculation (#13727) 2019-11-27 19:51:17 +08:00
2082b68a41 test: optimize session&planner/core unit test (#13580) 2019-11-27 17:25:55 +08:00
596fb64233 planner: support a hint to force using a IndexMerge path (#12843) 2019-11-27 15:44:25 +08:00
359a667d42 store: implement non-block read when coprocessor meets the lock of a large transaction (#11986) 2019-11-19 13:20:00 +08:00
2aa571b1ab test: make several slow package unit test support run parallel (#13431) 2019-11-14 12:47:42 +08:00
3712664d43 session,store/tikv: make CI more stable (#13303)
make TestBatchResolveLocks more stable
make TestErrorRollback faster
2019-11-09 17:09:19 +08:00
60d4291c5d store: upgrade the CheckTxnStatus API (#13123)
CheckTxnStatus introduces a non-block read mode. In this mode, TiDB can ignore
the secondary lock TTL check and send the CheckTxnStatus request.
2019-11-07 19:09:13 +08:00
e43444265b *: Support required rows rows for arrow decode format. (#12613) 2019-11-05 18:12:09 +08:00
000c1ba5db planner, session: add isolation read with engine type (#12997) 2019-11-01 15:47:12 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
04292a00de session: annotate the previous statement to the error when transaction commit failed (#12087) 2019-09-16 15:15:07 +08:00
c2901fea45 meta/autoid : fix the issue that MaxUint64 and MaxInt64 autoID is incorrectly allocated (#12119) 2019-09-11 08:07:39 -05:00
2307338ae7 planner: generate index path as candidate when it is a single scan (#12022) 2019-09-09 19:13:41 +08:00
073ab9b6a3 *: refactor RestrictedSQLExecutor (#11904) 2019-08-28 19:17:19 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
028f63cb4a *: rename tidb_back_off_weight (#11655) 2019-08-07 15:04:56 +08:00
7f3bff8afe session: do not keep history when the transaction retry is disabled (#11192) 2019-07-12 12:42:33 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
c32db315ea session,parser: make MAX_EXECUTION_TIME sql hint and global variable work (#10963) 2019-06-28 15:17:57 +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
04cd877967 session, sessionctx: add unit test for sessionctx, session (#10763) 2019-06-18 15:09:13 +08:00
e9ab859d1d privileges: add SkipWithGrant check for RBAC methods (#10681) 2019-06-05 10:44:27 +08:00
52c9d03a5e support view related privileges in mysql.tables_priv (#9894) 2019-05-22 21:10:46 +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
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
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
efe9b6ab2a planner/core: fix privilege check for update (#10281) 2019-04-30 13:06:54 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +08:00
b2bce4bde7 domain: add uint tests for global_vars_cache (#9919) 2019-04-02 18:27:59 +08:00
6125f49baf *: fix the read-only check for the prepare/execute statement (#9723) 2019-04-01 13:27:49 +08:00
628dff08b7 *: only disable retry for write conflict (#9827) 2019-03-29 14:36:07 +08:00