Welcome Guest, Not a member yet? Register   Sign In
Using CI with Oracle Stored Procedures
#4

[eluser]Ayo[/eluser]
What exactly r u tryin' to do?

I have some slight modification to query function(DB_driver.php)

Code:
function query($sql, $binds = FALSE, $return_object = TRUE)
    {
        if ($sql == '')
        {
            if ($this->db_debug)
            {
                log_message('error', 'Invalid query: '.$sql);
                return $this->display_error('db_invalid_query');
            }
            return FALSE;
        }
...
...
        // Compile binds if needed
        $this->binds = $binds;
        if ($binds !== FALSE)
        {
            //begin modification
            //$sql = $this->compile_binds($sql, $binds);
            
            if ($this->dbdriver == 'oci8')
            {
                $this->binds = $binds;
            }
            else
            {
                $sql = $this->compile_binds($sql, $binds);
            }
            //end modification
        }

...
...

You can PM for more help


Messages In This Thread
Using CI with Oracle Stored Procedures - by El Forum - 07-22-2009, 08:05 AM
Using CI with Oracle Stored Procedures - by El Forum - 07-22-2009, 09:54 PM
Using CI with Oracle Stored Procedures - by El Forum - 08-04-2009, 01:02 PM
Using CI with Oracle Stored Procedures - by El Forum - 08-04-2009, 05:01 PM
Using CI with Oracle Stored Procedures - by El Forum - 10-28-2009, 07:24 AM
Using CI with Oracle Stored Procedures - by El Forum - 09-10-2010, 07:26 PM
Using CI with Oracle Stored Procedures - by El Forum - 09-11-2010, 01:10 AM
Using CI with Oracle Stored Procedures - by El Forum - 05-25-2011, 08:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB