diff options
author | Andrey Andreev <narf@devilix.net> | 2022-01-05 19:00:06 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2022-01-05 19:00:06 +0100 |
commit | 3d9c9e6f9fed47332a094cc6a359e4f377357804 (patch) | |
tree | 9890f6f518406e818102b5c8e1e94188a9b3d94a /system/database/drivers | |
parent | f0f006c94e9c9a1630d0f8e123c2f4ccfde3413d (diff) |
[ci skip] Drop CI_DB_oci8_driver::_bind_params() (no longer used after removing stored_procedure())
Diffstat (limited to 'system/database/drivers')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index d32c5f3d6..8617a4ebe 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -268,35 +268,6 @@ class CI_DB_oci8_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Bind parameters - * - * @param array $params - * @return void - */ - protected function _bind_params($params) - { - if ( ! is_array($params) OR ! is_resource($this->result_id)) - { - return; - } - - foreach ($params as $param) - { - foreach (array('name', 'value', 'type', 'length') as $val) - { - if ( ! isset($param[$val])) - { - $param[$val] = ''; - } - } - - oci_bind_by_name($this->result_id, $param['name'], $param['value'], $param['length'], $param['type']); - } - } - - // -------------------------------------------------------------------- - - /** * Begin Transaction * * @return bool |