Commit 134c9f42 authored by ivan's avatar ivan Committed by Benjamin Eberlei

bindParam function expects length parameter for oci_bind_by_name oci8

driver function
parent 659de9a1
......@@ -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);
}
/**
......
Subproject commit 4200b4bc95ae3c1b03d943cd875277e35a17898a
Subproject commit efa94de25beef4aefaeb7972c122798f9876fc39
Subproject commit 15b04ec520ccded3dc0eba65b12a69ff1931360f
Subproject commit 17e774007b98beb2e253e645260e0f9c32f4c936
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