cvs: php4 /pear/DB odbc.php

From: Date: Thu, 22 Mar 2001 05:55:54 +0000
Subject: cvs: php4 /pear/DB odbc.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4767@lists.php.net to get a copy of this message
chagenbu Wed Mar 21 21:55:54 2001 EDT Modified files: /php4/pear/DB odbc.php Log: we have a default for dbsyntax; don't cause an error if it's not specified. Index: php4/pear/DB/odbc.php diff -u php4/pear/DB/odbc.php:1.28 php4/pear/DB/odbc.php:1.29 --- php4/pear/DB/odbc.php:1.28 Mon Feb 19 04:22:26 2001 +++ php4/pear/DB/odbc.php Wed Mar 21 21:55:54 2001 @@ -98,7 +98,9 @@ return $this->raiseError(); // XXX ERRORMSG } $this->dsn = $dsninfo; - $this->dbsyntax = $dsninfo['dbsyntax']; + if (!empty($dsninfo['dbsyntax'])) { + $this->dbsyntax = $dsninfo['dbsyntax']; + } switch ($this->dbsyntax) { case 'solid': $this->features = array(

« previous php.cvs (#4767) next »