You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frequent used variable's select @@variable, should read session variable or load default value from TiDB local cache, instead of load from kv everytime
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
3.0.1.beta1
The text was updated successfully, but these errors were encountered:
lysu
added
component/server
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
and removed
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
labels
May 8, 2019
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
when user uses jdbc or spring, it will auto send many select variable statement like:
those statements will be frequent send, it's better preload their global variable value into TiDB memory.
We have some other variable already use this mechanism, but some other variable is missed(like above)
tidb/session/session.go
Line 1614 in b0549b7
frequent used variable's
select @@variable
, should read session variable or load default value from TiDB local cache, instead of load from kv everytimetidb-server -V
or runselect tidb_version();
on TiDB)?3.0.1.beta1
The text was updated successfully, but these errors were encountered: