summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8
AgeCommit message (Collapse)AuthorFilesLines
2016-05-19[ci skip] Fix #4637Andrey Andreev1-7/+13
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev4-4/+4
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev4-8/+8
2016-01-11[ci skip] Bump year to 2016Andrey Andreev4-8/+8
2016-01-06[ci skip] Add support for OFFSET with Oracle 12cAndrey Andreev1-0/+8
As requested in #4279
2015-12-14Fix version() for Oracle DB driversAndrey Andreev1-2/+6
2015-10-19Fix #4171 and a number of other transaction bugsAndrey Andreev1-37/+4
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-6/+6
Partial changes from PR #4016
2015-07-17[ci skip] Fix a bug reported via PR #3704Andrey Andreev1-23/+20
2015-05-13Fixed bug - using field_data() on Oracle databasesLeandro Mangini Antunes1-1/+1
When you're using oracle databases and want to retrieve column information through the function field_data($table) you get the following notice: - Notice: Undefined property: stdClass::$COLUMN_DEFAULT in system/database/drivers/oci8/oci8_driver.php on line 576; This happens because the oci8 driver tries to access a property that does not exist on query used to get field information. Checking the code we see a small validation to set default value, but the variable $default is not used. So we fix this bug by simply changing: $retval[$i]->default = $query[$i]->COLUMN_DEFAULT; to $retval[$i]->default = $default; Bug fixed. No more notices and the properly value is set.
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-4/+0
It doesn't make sense to do a load->database() call but not connect to the database. IIRC there was more stuff in CI_DB_driver::initialize() at some point, so that was probably the reason why the setting existed in the first place. However, now it only results in users making invalid bug reports because they don't understand the feature ... Examples during just the past 2 weeks: #3571 #3601 #3607
2015-02-15add <!DOCTYPE html>Tjoosten1-1/+2
2015-01-21Remove closing blocks at end of PHP filesvlakoff4-12/+0
2015-01-12Change CI_DB_driver::field_data() signatureAndrey Andreev1-6/+2
The parameter is mandatory, it doesn't make sense to have a default empty string value only to check for it.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev4-12/+12
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-11-03Polish changes following #3305Andrey Andreev1-0/+8
Also add support for field comments in PostgreSQL & Oracle ... only via alter_table() for now :/
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev4-57/+100
2014-05-09Remove (most of) error suppression from database drivers (issue #3036)Andrey Andreev2-5/+5
2014-03-24[ci skip] Spacing adjustmentsAndrey Andreev1-10/+10
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-17/+5
2014-02-112013 > 2014darwinel4-4/+4
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-11-27[ci skip] Remove a few more spacesAndrey Andreev1-1/+1
2013-08-06Various typos and tabs adjustmentsvlakoff2-2/+2
2013-07-17Cherry-picking some changes from PR #2425:Andrey Andreev1-6/+2
- Session events logging (debug) - Bug fix for OCI8 method stored_procedure()
2013-01-10Unify escape_str() array input and LIKE logicAndrey Andreev1-34/+0
Added protected method _escape_str() to deal with quote escaping.
2013-01-01[ci skip] Happy new yearAndrey Andreev4-4/+4
2012-12-04Remove CI_DB_oci8_result::data_seek()Andrey Andreev1-63/+0
It can only call oci_execute() in order to reset the pointer to 0, the oci8 driver doesn't support setting the pointer. Due to the result_object(), result_array() and custom_result_object() calling data_seek() every time prior to fetching the result set, this only causes the query to be executed twice. All of the three methods now cast from existing result_object and/or result_array sets, so the probability to ever need to really fetch the result set again is practically zero and so this method doesn't bring any benefit.
2012-12-04Rename DB_result _data_seek() to data_seek() and make it publicly availableAndrey Andreev1-1/+6
(as requested in #2050)
2012-11-22Fix modify_column() issues (#2020)Andrey Andreev1-1/+1
2012-11-16Improve DB field_data() for Oracle (and fix its max_length for MSSQL / SQLSRV)Andrey Andreev1-7/+63
2012-11-13Add seed values support for Query Builder order_byAndrey Andreev1-2/+2
(feature request #1987)
2012-11-06Fix a lang key typoAndrey Andreev1-1/+1
2012-11-06Fix #589Andrey Andreev1-1/+1
2012-11-05Refactored DB ForgeAndrey Andreev1-88/+43
- PDO subdrivers are isolated from each other now. - Added compatibility for pretty much all of the features, for every DB platform. - Unified the way that stuff works in general. - Fixes issue #1005.
2012-11-05Fix DB drivers version() implementations that don't execute a queryAndrey Andreev1-3/+15
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev1-33/+75
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' result classesAndrey Andreev1-4/+30
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' utility classesAndrey Andreev2-2/+26
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev4-4/+8
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-25Merge pull request #1703 from ylynfatt/fix-oracle-out-of-sequence-warningAndrey Andreev1-1/+1
Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warning
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-0/+6
2012-10-12Merge changes from developAndrey Andreev1-20/+0
2012-10-06Fix issue #1257Andrey Andreev1-16/+0
2012-10-04Fix issue #1789Andrey Andreev1-4/+0
Signed-off-by: Andrey Andreev <narf@bofh.bg>
2012-08-13Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warningYannick Lyn Fatt1-1/+1
Fixes #1701
2012-07-19Remove _limit()'s extra parameters and qb_limit, qb_offset unneeded ↵Andrey Andreev1-6/+4
typecasts + add _compile_group_by() method
2012-07-18Remove dependancies on qb_like and remove unneeded parameters from ↵Andrey Andreev1-10/+7
_delete(), _like(), _update(), _update_batch()
2012-07-06_fetch_object(), custom_result_object() to utilize PHP's native capability ↵Andrey Andreev1-3/+18
to directly return custom class results
2012-07-05Clean-up the separate drivers' DB result classes from no longer needed methodsAndrey Andreev1-467/+0
2012-07-05Change DB_result::num_rows default value to NULLAndrey Andreev1-4/+9