Just an addition to that answer. The current release of unixODBC 2.3.0 defaults to Threading = 0, so the default now is to assume that driver are thread safe. This was a risky assumption in years past, not so much now.
The answer, in the form of a cut-and-paste comment from __handles. C -- I know, why doesn't everyone think to look there for documentation to begin with, right? /* * use just one mutex for all the lists, this avoids any issues * with deadlocks, the performance issue should be minimal, if it * turns out to be a problem, we can readdress this * * We also have a mutex to protect the connection pooling code * * If compiled with thread support the DM allows four different * thread strategies * * Level 0 - Only the DM internal structures are protected * the driver is assumed to take care of it's self * * Level 1 - The driver is protected down to the statement level * each statement will be protected, and the same for the connect * level for connect functions, note that descriptors are considered * equal to statements when it comes to thread protection.
* * Level 2 - The driver is protected at the connection level. Only * one thread can be in a particular driver at one time * * Level 3 - The driver is protected at the env level, only one thing * at a time. * * By default the driver open connections with a lock level of 3, * this can be changed by adding the line * * Threading = N * * to the driver entry in odbcinst.
Ini, where N is the locking level * (0-3).
– f00 Nov 17 '10 at 17:51 I think you missed the point. The point is that one can set the threading level explicitly to work with drivers that provide some degree of thread safety on their own. Myisam has nothing to do with this.
– sclv Nov 18 '10 at 2:01.
It uses odbc_pconnect. There, the $dsn string that is the first argument to odbc_pconnect comes from the 'database' element of the config array, not the 'host' element.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.