note 11851 deleted from function.odbc-connect by cmb

From: Date: Sun, 25 Aug 2019 07:51:09 +0000
Subject: note 11851 deleted from function.odbc-connect by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211965@lists.php.net to get a copy of this message
Note Submitter: cpoirier at shelluser dot net ---- After much testing, and I think supported by a comment I found in the code, I have come to a disturbing conclusion: odbc_connect() in PHP4.04pl1 is really an odbc_pconnect(), with all the implications for transaction scoping. Specifically, each time you call odbc_connect( "X", "" "" ), you will get the same physical ODBC Connection, and odbc_commit() and odbc_rollback() will affect all copies. The only solution I could find was to use several different DSNs to access the database.

« previous php.notes (#211965) next »