function CI_DB_oci10_driver($params) { $this->clean(); if (defined('SQLT_RSET')) { $this->_iCursorType = SQLT_RSET; } else { $this->_iCursorType = OCI_B_CURSOR; } if (defined('SQLT_NTY')) { $this->_iCollectionType = SQLT_NTY; } else { $this->_iCollectionType = OCI_B_NTY; } if (defined('SQLT_CHR')) { $this->_iDefaultType = SQLT_CHR; } else { $this->_iDefaultType = 1; } parent::CI_DB_driver($params); }
/** * Constructor * */ function CI_DB_sqlrelay_driver($params) { // function __construct() { $this->clean(); $this->setIsOracle(false); $this->_iPrefetch = 1000; if (isset($params['getNullsAsNulls']) && true === $params['getNullsAsNulls']) { $this->_bgetNullsAsNulls = true; } parent::CI_DB_driver($params); //$this->setAutoCommitOn(); }