cvs: php4 /pear/DB mssql.php
| From: | Markus Fischer | Date: | Sat, 20 Oct 2001 07:42:52 +0000 |
| Subject: | cvs: php4 /pear/DB mssql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1041@lists.php.net to get a copy of this message | ||
mfischer Sat Oct 20 03:42:52 2001 EDT
Modified files:
/php4/pear/DB mssql.php
Log:
'mssql' module works with either mssql or sybase extension
Index: php4/pear/DB/mssql.php
diff -u php4/pear/DB/mssql.php:1.28 php4/pear/DB/mssql.php:1.29
--- php4/pear/DB/mssql.php:1.28 Sat Oct 13 21:23:07 2001
+++ php4/pear/DB/mssql.php Sat Oct 20 03:42:52 2001
@@ -16,7 +16,7 @@
// | Authors: Sterling Hughes <sterling@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: mssql.php,v 1.28 2001/10/14 01:23:07 mfischer Exp $
+// $Id: mssql.php,v 1.29 2001/10/20 07:42:52 mfischer Exp $
//
// Database independent query interface definition for PHP's Microsoft SQL Server
// extension.
@@ -51,7 +51,7 @@
function connect($dsninfo, $persistent = false)
{
- if (!DB::assertExtension('mssql'))
+ if (!DB::assertExtension('mssql') &&
!DB::assertExtension('sybase'))
return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);
$this->dsn = $dsninfo;