cvs: pear /MDB mysql.php
| From: | Lukas Smith | Date: | Sat, 20 Jul 2002 23:40:17 +0000 |
| Subject: | cvs: pear /MDB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5225@lists.php.net to get a copy of this message | ||
lsmith Sat Jul 20 19:40:17 2002 EDT
Modified files:
/pear/MDB mysql.php
Log:
prefixed several privat methods with '_'
Index: pear/MDB/mysql.php
diff -u pear/MDB/mysql.php:1.27 pear/MDB/mysql.php:1.28
--- pear/MDB/mysql.php:1.27 Sat Jul 20 15:21:56 2002
+++ pear/MDB/mysql.php Sat Jul 20 19:40:16 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@dybnet.de> |
// +----------------------------------------------------------------------+
//
-// $Id: mysql.php,v 1.27 2002/07/20 19:21:56 lsmith Exp $
+// $Id: mysql.php,v 1.28 2002/07/20 23:40:16 lsmith Exp $
//
// MDB mysql driver.
//
@@ -189,7 +189,7 @@
}
}
$this->auto_commit = $auto_commit;
- return ($this->registerTransactionShutdown($auto_commit));
+ return ($this->_registerTransactionShutdown($auto_commit));
}
// }}}
@@ -308,7 +308,7 @@
$this->affected_rows = -1;
return ($this->raiseError());
}
- $this->registerTransactionShutdown(0);
+ $this->_registerTransactionShutdown(0);
}
$this->connected_host = $this->host;
$this->connected_user = $this->user;
@@ -319,7 +319,7 @@
}
// }}}
- // {{{ close()
+ // {{{ _close()
/**
* all the RDBMS specific things needed close a DB connection
@@ -327,7 +327,7 @@
* @access private
*
*/
- function close()
+ function _close()
{
if ($this->connection != 0) {
if (isset($this->supported["Transactions"]) &&
!$this->auto_commit) {
@@ -746,7 +746,7 @@
case MDB_TYPE_TIMESTAMP:
return ($value);
default:
- return ($this->baseConvertResult($value, $type));
+ return ($this->_baseConvertResult($value, $type));
}
}
@@ -1142,7 +1142,7 @@
return $this->raiseError(DB_ERROR, "", "",
'Get CLOB field value: '.LobError($clob));
}
- $value .= $this->quote($data);
+ $value .= $this->_quote($data);
}
$value .= "'";
return ($value);
@@ -1159,7 +1159,7 @@
* @param string $value
*
- * @access private
+ * @access public
*/
function freeClobValue($prepared_query, $clob, &$value)
{
@@ -1208,7 +1208,7 @@
* @param string $blob
*
- * @access private
+ * @access public
*/
function freeBlobValue($prepared_query, $blob)
{