What does orange mean in Glimpse's SQL tab?

99封情书 提交于 2020-01-05 04:16:09

问题


In the Glimpse SQL tab, some of the stored procedures called are orange. What does this signify? The tab details don't seem to say what that means.

I am using Glimpse.MVC5 and Glimpse.ADO, if that makes a difference.


回答1:


I had a similar question, see Why are some commands in Glimpse's SQL tab orange with an exclamation icon?

I downloaded the Glimpse code and answered my own question. Here's the short of it:

Glimpse.Ado maintains a dictionary that tracks the number of times each particular command text has been executed during the lifetime of a web request. Any command texts that have been executed previously in the web request are marked as duplicate and these duplicate requests are colored orange in the Sql tab.

Here's a direct link to my answer, with more details.




回答2:


It appears those mean that transactions are left open, as I gathered from this rather old issue.



来源:https://stackoverflow.com/questions/37599731/what-does-orange-mean-in-glimpses-sql-tab

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!