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
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.DoNotPoolThisConnection|RES|INFO|CPOOL> {0}#, Marking pooled object as non-poolable so it will be disposed",ObjectID);
252
+
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.DoNotPoolThisConnection|RES|INFO|CPOOL> {0}, Marking pooled object as non-poolable so it will be disposed",ObjectID);
253
253
}
254
254
255
255
/// <devdoc>Ensure that this connection cannot be put back into the pool.</devdoc>
throwADP.InternalError(ADP.InternalErrorCode.PushingObjectSecondTime);// pushing object onto stack a second time
378
378
}
379
379
380
-
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.PrePush|RES|CPOOL> {0}#, Preparing to push into pool, owning connection {1}#, pooledCount={2}",ObjectID,0,_pooledCount);
380
+
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.PrePush|RES|CPOOL> {0}, Preparing to push into pool, owning connection {1}, pooledCount={2}",ObjectID,0,_pooledCount);
381
381
_pooledCount++;
382
382
_owningObject.Target=null;// NOTE: doing this and checking for InternalError.PooledObjectHasOwner degrades the close by 2%
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.PostPop|RES|CPOOL> {0}#, Preparing to pop from pool, owning connection {1}#, pooledCount={2}",ObjectID,0,_pooledCount);
409
+
SqlClientEventSource.Log.PoolerTraceEvent("<prov.DbConnectionInternal.PostPop|RES|CPOOL> {0}, Preparing to pop from pool, owning connection {1}, pooledCount={2}",ObjectID,0,_pooledCount);
410
410
411
411
//3 // The following tests are retail assertions of things we can't allow to happen.
// connection creation failed on semaphore waiting or if max pool reached
164
164
if(connectionPool.IsRunning)
165
165
{
166
-
SqlClientEventSource.Log.TraceEvent("<prov.DbConnectionFactory.GetConnection|RES|CPOOL> {0}#, GetConnection failed because a pool timeout occurred.",ObjectID);
166
+
SqlClientEventSource.Log.TraceEvent("<prov.DbConnectionFactory.GetConnection|RES|CPOOL> {0}, GetConnection failed because a pool timeout occurred.",ObjectID);
167
167
// If GetConnection failed while the pool is running, the pool timeout occurred.
SqlClientEventSource.Log.TraceEvent("<prov.DbConnectionFactory.GetConnection|RES|CPOOL> {0}#, GetConnection failed because a pool timeout occurred and all retries were exhausted.",ObjectID);
184
+
SqlClientEventSource.Log.TraceEvent("<prov.DbConnectionFactory.GetConnection|RES|CPOOL> {0}, GetConnection failed because a pool timeout occurred and all retries were exhausted.",ObjectID);
0 commit comments