Commit Graph

24 Commits

Author SHA1 Message Date
5ee28538fe session: make unit test TestErrorRollback more stable (#6486) 2018-05-08 09:06:41 +08:00
702f210473 make tidb_opt_insubquery_unfold global (#6482) 2018-05-07 21:15:08 +08:00
4185e53006 tikv/txn: support local latch in transaction (#6418) 2018-05-07 10:57:01 +08:00
e215e93948 *: provide a configurable tidb_retry_limit session variable (#6369) 2018-05-03 19:52:53 +08:00
cd15501cf9 privilege: clean up privilege.Enable variable (#6427) 2018-04-28 07:13:23 -05:00
1376b99096 session: cache global variable for a short while (#6315) 2018-04-20 16:56:52 +08:00
5da8ac0957 *: make session variables control TiKV layer. (#6322)
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
e2b033d1c0 *: add a tidb system variable tidb_hash_join_concurrency (#6244) 2018-04-12 20:28:19 +08:00
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
582e33a0e4 *: use tidb_index_lookup_join_currency to control the number of IndexLookupJoin inner workers (#6240) 2018-04-10 10:05:00 +08:00
13a7f1943c *: fix data race in plan cache (#6234) 2018-04-09 08:24:38 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
313d9d3660 parser: fix the result of cast (0x10 as binary(2)). (#6211) 2018-04-03 21:44:36 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
57afbe2680 session: upgrade mysql.db user column length to 32 (#6209)
To keep consistent with MySQL, so we won't meet this error:

tidb(127.0.0.1)> grant all privileges on test.* to 'abcddfjakldfjaldddds'@'%' identified by '';
ERROR 1406 (22001): Data too long for column 'User' at row 1
2018-04-03 05:39:50 -05:00
365619d66b *: add metrics for queries using plan cache (#6195) 2018-04-01 18:03:16 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
96a51da57c * Add conn ID to the transaction log (#6115) 2018-03-26 20:13:07 +08:00
501de19821 stats: add average column size for the histogram (#5974) 2018-03-23 13:44:24 +08:00
03a445a5ce session: call "begin" in a transaction will auto commit, log this operation (#6122) 2018-03-23 11:37:24 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00