ADO.NET MySqlCommand 命令超时
我试图理解 MySqlCommand CommandTimeout 。如果为零,是否意味着“无限期”?
I am trying to understand MySqlCommand CommandTimeout . If it is zero , does it mean "indefinite" ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据官方文档,看起来0确实意味着不确定。
(强调我的)
但是,2006 年 10 月的这篇文章似乎另有说明。自从发布该帖子以匹配官方文档以来,很可能已经对实现进行了修改。最好的办法就是尝试一下,看看会发生什么:)
According to the official documentation, it does seem that 0 means indefinite.
(emphasis mine)
However, this post from October 2006 seems to indicates otherwise. Most likely the implementation has been modified since that post was made to match the official documentation. The best thing to do is give it a try and see what happens :)