Hello:

What is this? Do you have few CVS? In the past we downloaded provider from cvs.sourceforge.net:/cvsroot/firebird

Also we don't see any changes here: http://cvs.sourceforge.net/viewcvs.py/firebird/NETProvider/NETProvider_17/source/FirebirdSql.Data.Firebird/

Looks like there are problems iwth the CVSView of sourceforge :P

The method now in CVS should look like this:


public FbConnectionInternal CheckOut()
{
   FbConnectionInternal newConnection = null;

   lock (this.syncObject)
   {
// 1. Try ToString Get a connection from the unlocked connection list.
       lock (this.unlocked.SyncRoot)
       {
           newConnection = this.GetConnection();
           if (newConnection != null)
           {
               return newConnection;
           }
       }

       // 2. Check if we have reached the max number of allowed connections
       this.CheckMaxPoolSize();

// 3. Try ToString Get a connection from the unlocked connection list.
       lock (this.unlocked.SyncRoot)
       {
           newConnection = this.GetConnection();
           if (newConnection != null)
           {
               return newConnection;
           }
       }

       // 4. In any other case create a new connection
       newConnection = this.Create();

       // Set connection pooling settings to the new connection
       newConnection.Lifetime = this.options.ConnectionLifeTime;
       newConnection.Pooled = true;

       // Added to    the    locked connections list.
       this.locked.Add(newConnection);
   }

   return newConnection;
}



--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to