summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli/mysqli_driver.php
AgeCommit message (Collapse)AuthorFilesLines
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-16Improve the ssl_cipher check for MySQLiAndrey Andreev1-9/+9
Related: #3896
2015-07-16Refactor proposed changes from PR #3896Andrey Andreev1-44/+28
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-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-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-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-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-12Change CI_DB_driver::field_data() signatureAndrey Andreev1-6/+1
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 Andreev1-3/+3
- 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-12-17Add support for configuring socket pipe connections in 'mysqli'Andrey Andreev1-5/+17
Supersedes PR #3415
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-06-19Fix #3112Andrey Andreev1-3/+1
2014-05-07Remove error-masking '@' in mysqli_driver (See: ↵mdunisch1-2/+2
https://github.com/EllisLab/CodeIgniter/issues/3036)
2014-03-10Add support for callable form validation rulesAndrey Andreev1-1/+1
2014-02-25Remove error suppression usage from db_connect()Andrey Andreev1-1/+1
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-12/+0
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-12-10Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all driversAndrey Andreev1-0/+14
Supersedes PR #2756
2013-09-13Update MySQLi to use the PHP API for transactions, where possibleAndrey Andreev1-9/+18
2013-03-12Add a (default) CI_DB_query_builder::_update_batch() methodAndrey Andreev1-41/+0
An improved version of PR #2324, which only targets ODBC.
2013-01-10Unify escape_str() array input and LIKE logicAndrey Andreev1-25/+6
Added protected method _escape_str() to deal with quote escaping.
2013-01-10Apply improvement proposed in #2142Andrey Andreev1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
2012-11-16Improve DB field_data() for MySQL and CUBRIDAndrey Andreev1-6/+11
2012-11-05Fix DB drivers version() implementations that don't execute a queryAndrey Andreev1-3/+10
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev1-20/+41
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-0/+1
2012-10-22Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-1/+1
feature/db_qb_aliasing
2012-10-13Apparently not all PHP builds consider mysqli::__construct() with no ↵Andrey Andreev1-1/+1
parameters to be the same as mysqli_init()
2012-10-12Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-35/+14
feature/db_qb_aliasing
2012-10-12Set MySQL client compression to FALSE by default (problems reported with ↵Andrey Andreev1-35/+14
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting
2012-10-12Merge changes from developAndrey Andreev1-4/+50
2012-10-09Really fix that FROM group conditionAndrey Andreev1-1/+1
2012-10-09Alter fix for issue #1257Andrey Andreev1-0/+20
2012-10-05Fix issue #1765Andrey Andreev1-2/+10
2012-10-04Fix issue #1789Andrey Andreev1-4/+0
Signed-off-by: Andrey Andreev <narf@bofh.bg>
2012-08-21driver fix + userguide + changelogMichiel Vugteveen1-3/+15
2012-08-20mysql driver updatedMichiel Vugteveen1-3/+5
2012-08-20compression testMichiel Vugteveen1-0/+8
2012-07-18Merge where() and having() logic - it's structurally identical and only the ↵Andrey Andreev1-1/+1
keyword differs
2012-07-18Remove dependancies on qb_like and remove unneeded parameters from ↵Andrey Andreev1-6/+4
_delete(), _like(), _update(), _update_batch()
2012-07-05Add a default _count_string propertyAndrey Andreev1-6/+0
2012-06-24Add a default _limit() method to the Query Builder classAndrey Andreev1-18/+0