• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
codeigniter 2.1 with oracle oci8 driver

#1
[eluser]Unknown[/eluser]
I'm just wondering if someone just try to use the oci8 implementation of the 2.1 version.

I'm currently trying to used it and I've seen a lot code that just not work at all in the driver.

ex:
into: oci8_result.php
public function num_rows()
{
if ($this->num_rows === 0 && count($this->result_array()) > 0)
{
$this->num_rows = count($this->result_array());
@oci_execute($this->stmt_id);

if ($this->curs_id)
{
@oci_execute($this->curs_id);
}
}

return $rowcount;
}

what's wrong: $rowcount is not defined anywhere


into: oci8_forge.php
function _create_table
if ($if_not_exists === TRUE)
{
$sql .= 'IF NOT EXISTS ';
}

what's wrong: it's not a valid sql syntax with oracle


Did someone create a patch to fix the driver?



Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.