cvs: pear /MDB mysql.php
| From: | Lukas Smith | Date: | Wed, 29 May 2002 14:00:54 +0000 |
| Subject: | cvs: pear /MDB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4266@lists.php.net to get a copy of this message | ||
lsmith Wed May 29 10:00:54 2002 EDT
Modified files:
/pear/MDB mysql.php
Log:
+ some formating changes
Index: pear/MDB/mysql.php
diff -u pear/MDB/mysql.php:1.9 pear/MDB/mysql.php:1.10
--- pear/MDB/mysql.php:1.9 Thu May 23 07:15:10 2002
+++ pear/MDB/mysql.php Wed May 29 10:00:54 2002
@@ -2,7 +2,7 @@
/*
* mysql.php
*
- * @(#) $Header: /usr/repository/pear/MDB/mysql.php,v 1.9 2002/05/23 11:15:10 lsmith Exp $
+ * @(#) $Header: /usr/repository/pear/MDB/mysql.php,v 1.10 2002/05/29 14:00:54 lsmith Exp $
*
*/
@@ -179,28 +179,28 @@
}
switch(isset($fields[$name]["Type"]) ? $fields[$name]["Type"] :
"text") {
case "text":
- $value = $this->GetTextFieldValue($fields[$name]["Value"]);
+ $value = $this->getTextFieldValue($fields[$name]["Value"]);
break;
case "boolean":
- $value = $this->GetBooleanFieldValue($fields[$name]["Value"]);
+ $value = $this->getBooleanFieldValue($fields[$name]["Value"]);
break;
case "integer":
$value = strval($fields[$name]["Value"]);
break;
case "decimal":
- $value = $this->GetDecimalFieldValue($fields[$name]["Value"]);
+ $value = $this->getDecimalFieldValue($fields[$name]["Value"]);
break;
case "float":
- $value = $this->GetFloatFieldValue($fields[$name]["Value"]);
+ $value = $this->getFloatFieldValue($fields[$name]["Value"]);
break;
case "date":
- $value = $this->GetDateFieldValue($fields[$name]["Value"]);
+ $value = $this->getDateFieldValue($fields[$name]["Value"]);
break;
case "time":
- $value = $this->GetTimeFieldValue($fields[$name]["Value"]);
+ $value = $this->getTimeFieldValue($fields[$name]["Value"]);
break;
case "timestamp":
- $value =
$this->GetTimestampFieldValue($fields[$name]["Value"]);
+ $value =
$this->getTimestampFieldValue($fields[$name]["Value"]);
break;
default:
return $this->raiseError(DB_ERROR_CANNOT_REPLACE, "",
"",
@@ -433,17 +433,17 @@
$value .= $data;
}
$value .= "'";
- return (1);
+ return (1);
}
- function FreeClobValue($prepared_query, $clob, &$value, $success)
+ function freeClobValue($prepared_query, $clob, &$value, $success)
{
unset($value);
}
function getBLobFieldValue($prepared_query, $parameter, $blob, &$value)
{
- for($value = "'";!endOfLob($blob);) {
+ for($value = "'";!endOfLob($blob);) {
if (!readLob($blob, $data, $this->lob_buffer_length)) {
$value = "";
return $this->raiseError(DB_ERROR, "", "",
@@ -452,7 +452,7 @@
$value .= addslashes($data);
}
$value .= "'";
- return (1);
+ return (1);
}
function freeBLobValue($prepared_query, $blob, &$value, $success)
@@ -890,4 +890,4 @@
}
};
}
-?>
\ No newline at end of file
+?>\ No newline at end of file