cvs: php4 /pear/DB sybase.php
| From: | Thomas V.V.Cox | Date: | Thu, 06 Dec 2001 12:00:19 +0000 |
| Subject: | cvs: php4 /pear/DB sybase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1486@lists.php.net to get a copy of this message | ||
cox Thu Dec 6 07:00:19 2001 EDT
Modified files:
/php4/pear/DB sybase.php
Log:
added sysbase_ct to the test for extensions
(thanks Bradley Bell <bradleyb@u.washington.edu>)
Index: php4/pear/DB/sybase.php
diff -u php4/pear/DB/sybase.php:1.26 php4/pear/DB/sybase.php:1.27
--- php4/pear/DB/sybase.php:1.26 Thu Nov 1 19:45:43 2001
+++ php4/pear/DB/sybase.php Thu Dec 6 07:00:18 2001
@@ -16,7 +16,7 @@
// | Authors: Sterling Hughes <sterling@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: sybase.php,v 1.26 2001/11/02 00:45:43 cox Exp $
+// $Id: sybase.php,v 1.27 2001/12/06 12:00:18 cox Exp $
//
// Database independent query interface definition for PHP's Sybase
// extension.
@@ -54,7 +54,7 @@
function connect($dsninfo, $persistent = false)
{
- if (!DB::assertExtension('sybase'))
+ if (!DB::assertExtension('sybase') ||
!DB::assertExtension('sybase_ct'))
return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);
$this->dsn = $dsninfo;