|
From: | Sigurd Nes |
Subject: | [phpGroupWare-developers] Nested db-objects |
Date: | Wed, 21 May 2008 20:02:32 +0200 |
User-agent: | Thunderbird 2.0.0.14 (X11/20080504) |
Hi all,I find it very useful to have the ability to have the choice of using nested db-objects.
Example:When integrating with external systems - it is very convenient to start a transaction on system 1 - do some work (like sync) on system 2 - and if things went well do a commit on the result in system 1.
To make this work there is a need for two tiny changes in the class.db.inc.php: 1) on line 133 in the function __clone(): change $this->new_adodb(); to $this->adodb = clone($this->adodb); 2) Also the new function __destruct() - which do a disconnect has to be commented How about it? Regards Sigurd
[Prev in Thread] | Current Thread | [Next in Thread] |