()
| 259 | } |
| 260 | |
| 261 | func (s *QueryStats) LoadPriority() (int64, bool) { |
| 262 | if s == nil { |
| 263 | return 0, false |
| 264 | } |
| 265 | |
| 266 | return atomic.LoadInt64(&s.Priority), s.PriorityAssigned |
| 267 | } |
| 268 | |
| 269 | func (s *QueryStats) SetDataSelectMaxTime(dataSelectMaxTime int64) { |
| 270 | if s == nil { |
no outgoing calls
no test coverage detected