I have a question about method implementation.
CleanConnectionsImpl
It cleans connections in pool.
But why _busy dictionary connections are disposed as well?
Isn't it a trouble maker for inappropriate ClearPools method users?

We had run in a problem where currently running queries were failing
because another thread wrongly cleared all pools. It was quite
unexpected.
We fixed the issue in our code with the thread, but I think it should
throw InvalidOperationException if _busy dictionary is not empty,
because it means that there may be currently running queries.

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to