cvs: pear /MDB2 MDB2.php

From: Date: Tue, 12 Feb 2008 21:28:05 +0000
Subject: cvs: pear /MDB2 MDB2.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-50991@lists.php.net to get a copy of this message
quipo Tue Feb 12 21:28:05 2008 UTC Modified files: /pear/MDB2 MDB2.php Log: added databaseExists() http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2.php?r1=1.311&r2=1.312&diff_format=u Index: pear/MDB2/MDB2.php diff -u pear/MDB2/MDB2.php:1.311 pear/MDB2/MDB2.php:1.312 --- pear/MDB2/MDB2.php:1.311 Sun Feb 3 20:03:09 2008 +++ pear/MDB2/MDB2.php Tue Feb 12 21:28:05 2008 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: MDB2.php,v 1.311 2008/02/03 20:03:09 afz Exp $ +// $Id: MDB2.php,v 1.312 2008/02/12 21:28:05 quipo Exp $ // /** @@ -2222,6 +2222,23 @@ } // }}} + // {{{ databaseExists() + + /** + * check if given database name is exists? + * + * @param string $name name of the database that should be checked + * + * @return mixed true/false on success, a MDB2 error on failure + * @access public + */ + function databaseExists($name) + { + return $this->raiseError(MDB2_ERROR_UNSUPPORTED, null, null, + 'method not implemented', __FUNCTION__); + } + + // }}} // {{{ setCharset($charset, $connection = null) /**

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