cvs: pear /MDB2_Schema/MDB2/Schema Parser.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Tue, 18 Oct 2005 23:42:03 +0000 |
| Subject: | cvs: pear /MDB2_Schema/MDB2/Schema Parser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35690@lists.php.net to get a copy of this message | ||
dufuz Tue Oct 18 19:42:03 2005 EDT
Modified files:
/pear/MDB2_Schema/MDB2/Schema Parser.php
Log:
Committed the wrong file earlier, no harm done tho since that was only WS and 1 => true
changes.
Here's the real commit:
Forgot to unset the index when it's suppose to be skipped, now it doesn't show up in the
final database defintion.
http://cvs.php.net/diff.php/pear/MDB2_Schema/MDB2/Schema/Parser.php?r1=1.18&r2=1.19&ty=u
Index: pear/MDB2_Schema/MDB2/Schema/Parser.php
diff -u pear/MDB2_Schema/MDB2/Schema/Parser.php:1.18 pear/MDB2_Schema/MDB2/Schema/Parser.php:1.19
--- pear/MDB2_Schema/MDB2/Schema/Parser.php:1.18 Tue Oct 18 13:58:25 2005
+++ pear/MDB2_Schema/MDB2/Schema/Parser.php Tue Oct 18 19:42:00 2005
@@ -42,7 +42,7 @@
// | Author: Christian Dickmann <dickmann@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Parser.php,v 1.18 2005/10/18 17:58:25 dufuz Exp $
+// $Id: Parser.php,v 1.19 2005/10/18 23:42:00 dufuz Exp $
//
require_once 'XML/Parser.php';
@@ -250,6 +250,8 @@
}
}
}
+ } else {
+ unset($this->table['indexes'][$name]);
}
}
}