summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
AgeCommit message (Collapse)AuthorFilesLines
2016-01-07Fix MySQL's 'stricton' featureAndrey Andreev1-2/+20
2016-01-07Add support for MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERTAndrey Andreev1-2/+15
Available since PHP 5.6.16
2016-01-07[ci skip] Add Oracle 12.1 OFFSET support to PDO_OCI as wellAndrey Andreev1-0/+8
Reference: #4279
2016-01-06[ci skip] Add support for OFFSET with Oracle 12cAndrey Andreev1-0/+8
As requested in #4279
2016-01-06Fix #4337Andrey Andreev4-2/+48
2015-12-30Fix #4331Andrey Andreev1-13/+24
2015-12-14Fix version() for Oracle DB driversAndrey Andreev2-2/+29
2015-12-11Fix #4306Andrey Andreev1-1/+1
2015-10-19Fix #4171 and a number of other transaction bugsAndrey Andreev12-330/+71
2015-10-13[ci skip] Fix #4170Andrey Andreev1-3/+1
2015-09-16Fix #4120Andrey Andreev1-3/+13
2015-08-19[ci skip] Fix 'sqlsrv' connect failure endless loopAndrey Andreev1-7/+8
Reported via the forums: http://forum.codeigniter.com/thread-61494.html
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev4-9/+9
Partial changes from PR #4016
2015-07-17[ci skip] Fix a bug reported via PR #3704Andrey Andreev1-23/+20
2015-07-16Add 'ssl_verify' option for mysqli driverAndrey Andreev1-0/+5
MYSQLI_OPT_SSL_VERIFY_SERVER_CERT is an undocumented option that may not always be available. Reference: http://svn.php.net/viewvc/php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt?view=markup&pathrev=302897
2015-07-16Add SSL support for PDO_MYSQL tooAndrey Andreev1-2/+29
Related: #3896
2015-07-16Improve the ssl_cipher check for MySQLiAndrey Andreev1-9/+9
Related: #3896
2015-07-16Refactor proposed changes from PR #3896Andrey Andreev1-44/+28
2015-07-16Merge branch 'feature/mysqli-ssl' of github.com:ndigitals/CodeIgniter into ↵Andrey Andreev1-2/+56
feature/mysqli_ssl
2015-07-05fix pdo/sqlite & update changelogftwbzhao1-1/+1
2015-07-04fix SQlite3 list_fieldsftwbzhao1-1/+1
2015-07-02Apply PR #3940 to sqlite3 driver and fix a wrong var nameAndrey Andreev1-1/+2
2015-07-02sqlite < 3.3 unsuported `_drop_table_if`ftwbzhao1-0/+1
2015-06-18Removed db_options configuration item for implementation later. Changed 5 ↵Tim Nolte1-60/+16
new MySQLi SSL configuration options to a single ssl_options config item that is an array that will be read to set the individual SSL options. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-08Merge branch 'develop' into feature/mysqli-sslTim Nolte3-17/+45
2015-06-08Fixed missing MySQLi driver parameter DOCBLOCK descriptions. Updated ↵Tim Nolte1-0/+10
database configuration documentation to include a list of the new MySQLi driver parameters. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-05Updated the MySQLi driver to provide support for SSL connections as well as ↵Tim Nolte1-2/+90
additional database connection options. Uses the DB_driver class encrypt option as the flag for turning on encryption. Also added SSL connection validation with error logging in order to provide users a way to know if they are actually connecting via SSL. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
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-04-29Add list_fields() support for SQLite3Andrey Andreev2-16/+44
2015-04-14Fix #3773Andrey Andreev1-0/+24
2015-02-19Remove 'autoinit' DB settingAndrey Andreev7-28/+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-17Finishing PR #3596 <!DOCTYPE html>Ivan Tcholakov1-1/+2
2015-02-15add <!DOCTYPE html>Tjoosten13-13/+26
2015-02-08Deleted spacesGwenael Gallon2-2/+2
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon1-1/+1
This reverts commit 96901ff3849c19351c7382689e6a970629586aae.
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon6-6/+6
This reverts commit 3053ded760a9657bdc7b935beb61d2f632859928.
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon8-8/+8
This reverts commit 843d2506e1a1eab17b871bc38b204d27047c9ff7.
2015-02-07Remove unnecessary returnGwenael Gallon8-8/+8
2015-02-07Remove unnecessary returnGwenael Gallon6-6/+6
2015-02-07Remove unnecessary returnGwenael Gallon1-1/+1
2015-02-07Revert indentationGwenael Gallon2-8/+8
2015-02-07Fix unreachable codeGwenael Gallon2-10/+10
2015-02-04Fix typos in func namesGabriel Potkány1-1/+1
2015-02-03Fix a wrong var name in class CI_DB_pdo_4d_forge::_attr_typeGwenael Gallon1-1/+1
2015-01-28fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-26... and neither does MYSQLI_OPT_RECONNECTAndrey Andreev1-1/+0
2015-01-26Apparently MYSQLI_OPT_READ_TIMEOUT doesn't work on PHPAndrey Andreev1-1/+0
2015-01-26Close #3509Andrey Andreev1-0/+4
Not really a bug, but ...
2015-01-23Corrected loop with the $c variableGwenael G1-1/+1
2015-01-23Fix error extends class nameGwenael G1-1/+1