cvs: pear /MDB2/MDB2/Driver/Datatype Common.php

From: Date: Sat, 15 Oct 2005 12:02:55 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Datatype Common.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35571@lists.php.net to get a copy of this message
lsmith Sat Oct 15 08:02:55 2005 EDT Modified files: /pear/MDB2/MDB2/Driver/Datatype Common.php Log: - store if type has changed http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/Common.php?r1=1.45&r2=1.46&ty=u Index: pear/MDB2/MDB2/Driver/Datatype/Common.php diff -u pear/MDB2/MDB2/Driver/Datatype/Common.php:1.45 pear/MDB2/MDB2/Driver/Datatype/Common.php:1.46 --- pear/MDB2/MDB2/Driver/Datatype/Common.php:1.45 Fri Oct 14 18:39:52 2005 +++ pear/MDB2/MDB2/Driver/Datatype/Common.php Sat Oct 15 08:02:49 2005 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: Common.php,v 1.45 2005/10/14 22:39:52 lsmith Exp $ +// $Id: Common.php,v 1.46 2005/10/15 12:02:49 lsmith Exp $ require_once 'MDB2/LOB.php'; @@ -688,6 +688,10 @@ $change = $this->{"_compare{$type}Definition"}($current, $previous); + if ($previous['type'] != $type) { + $change['type'] = true; + } + $previous_notnull = array_key_exists('notnull', $previous) ? $previous['notnull'] : false; $notnull = array_key_exists('notnull', $current) ? $current['notnull'] : false; if ($previous_notnull != $notnull) {

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