*/
function open( $server, $user, $password, $dbName ) {
if ( !function_exists( 'oci_connect' ) ) {
*/
function open( $server, $user, $password, $dbName ) {
if ( !function_exists( 'oci_connect' ) ) {
# return "TO_TIMESTAMP('" . $this->strencode(wfTimestamp(TS_DB, $ts)) . "', 'RRRR-MM-DD HH24:MI:SS')";
}
# return "TO_TIMESTAMP('" . $this->strencode(wfTimestamp(TS_DB, $ts)) . "', 'RRRR-MM-DD HH24:MI:SS')";
}
- /**
- * Return aggregated value function call
- */
- function aggregateValue ($valuedata,$valuename='value') {
- return $valuedata;
- }
+ /**
+ * Return aggregated value function call
+ */
+ function aggregateValue ($valuedata,$valuename='value') {
+ return $valuedata;
+ }
function reportQueryError( $error, $errno, $sql, $fname, $tempIgnore = false ) {
function reportQueryError( $error, $errno, $sql, $fname, $tempIgnore = false ) {
if (is_object($value) && $value->isLOB()) {
$blob = oci_new_descriptor($this->mConn, OCI_D_LOB);
$bdata = $value->data();
if (is_object($value) && $value->isLOB()) {
$blob = oci_new_descriptor($this->mConn, OCI_D_LOB);
$bdata = $value->data();
- oci_bind_by_name($stmt, ":bobj", &$blob, -1, OCI_B_BLOB);
+ oci_bind_by_name($stmt, ":bobj", $blob, -1, OCI_B_BLOB);
} else
oci_bind_by_name($stmt, ":$k", $a[$key][$k], -1);
if ($this->debug())
} else
oci_bind_by_name($stmt, ":$k", $a[$key][$k], -1);
if ($this->debug())