Commit ba7aa61d authored by ivan's avatar ivan

Fixed error with ORA-03131 in oracle stored procedures

bindParam function expects length parameter for oci_bind_by_name oci8
parent 033a8292
......@@ -116,9 +116,9 @@ class Statement implements \IteratorAggregate, DriverStatement
* @param integer $type The PDO binding type.
* @return boolean TRUE on success, FALSE on failure.
*/
public function bindParam($name, &$var, $type = PDO::PARAM_STR)
public function bindParam($name, &$var, $type = PDO::PARAM_STR, $length = null)
{
return $this->stmt->bindParam($name, $var, $type);
return $this->stmt->bindParam($name, $var, $type, $length );
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment