Commit Graph

161 Commits

Author SHA1 Message Date
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