cvs: pear /MDB/MDB/Modules/Manager oci8.php
| From: | Lukas Smith | Date: | Sun, 01 Jun 2003 13:27:54 +0000 |
| Subject: | cvs: pear /MDB/MDB/Modules/Manager oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10640@lists.php.net to get a copy of this message | ||
lsmith Sun Jun 1 09:27:54 2003 EDT
Modified files:
/pear/MDB/MDB/Modules/Manager oci8.php
Log:
disabled createDatabase and dropDatabase for now
Index: pear/MDB/MDB/Modules/Manager/oci8.php
diff -u pear/MDB/MDB/Modules/Manager/oci8.php:1.6 pear/MDB/MDB/Modules/Manager/oci8.php:1.7
--- pear/MDB/MDB/Modules/Manager/oci8.php:1.6 Sun Feb 23 10:50:01 2003
+++ pear/MDB/MDB/Modules/Manager/oci8.php Sun Jun 1 09:27:54 2003
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.6 2003/02/23 15:50:01 lsmith Exp $
+// $Id: oci8.php,v 1.7 2003/06/01 13:27:54 lsmith Exp $
if (!defined('MDB_MANAGER_OCI8_INCLUDED')) {
define('MDB_MANAGER_OCI8_INCLUDED', 1);
@@ -68,9 +68,9 @@
* @return mixed MDB_OK on success, a MDB error on failure
* @access public
*/
+/*
function createDatabase(&$db, $name)
{
-return(MDB_OK);
$user = $db->getOption('DBAUser');
if (MDB::isError($user)) {
return($db->raiseError(MDB_ERROR_INSUFFICIENT_DATA, NULL, NULL, 'Create
database',
@@ -103,6 +103,7 @@
}
return($result);
}
+*/
// }}}
// {{{ dropDatabase()
@@ -115,6 +116,7 @@
* @return mixed MDB_OK on success, a MDB error on failure
* @access public
*/
+/*
function dropDatabase(&$db, $name)
{
$user = $db->getOption('DBAUser');
@@ -132,6 +134,7 @@
}
return($db->_doQuery('DROP USER '.$db->user.' CASCADE'));
}
+*/
// }}}
// {{{ alterTable()