Files
tidb/privilege
tiancaiamao 7d634a5486 *: fix a data race in privilege handle Update() (#3389)
privilege handle bind a ctx to call Update(), but it may be
called by multiple goroutines, so data race in that ctx.

change Update() to take a context parameter, avoid using the
same ctx to fix the race.
2017-06-07 11:30:11 +08:00
..