svn: /pear/packages/DB_DataObject/trunk/DataObject/ Generator.php

From: Date: Mon, 01 Feb 2010 07:54:01 +0000
Subject: svn: /pear/packages/DB_DataObject/trunk/DataObject/ Generator.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-58587@lists.php.net to get a copy of this message
alan_k Mon, 01 Feb 2010 07:54:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294293 Log: add note about why logic is different on pgsql Changed paths: U pear/packages/DB_DataObject/trunk/DataObject/Generator.php Modified: pear/packages/DB_DataObject/trunk/DataObject/Generator.php =================================================================== --- pear/packages/DB_DataObject/trunk/DataObject/Generator.php 2010-02-01 07:50:21 UTC (rev 294292) +++ pear/packages/DB_DataObject/trunk/DataObject/Generator.php 2010-02-01 07:54:01 UTC (rev 294293) @@ -412,7 +412,7 @@ while ($row = $res->fetchRow(DB_FETCHMODE_ASSOC)) { $treffer = array(); - // this only picks up one fo these.. (mysql handle multiple. - wonder why) + // this only picks up one of these.. see this for why: http://pear.php.net/bugs/bug.php?id=17049 preg_match( "/FOREIGN KEY \((\w*)\) REFERENCES (\w*)\((\w*)\)/i", $row['condef'],

« previous php.pear.cvs (#58587) next »