summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysqli
AgeCommit message (Collapse)AuthorFilesLines
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-02-15add <!DOCTYPE html>Tjoosten1-1/+2
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 filesvlakoff4-12/+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 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-12-17Add support for configuring socket pipe connections in 'mysqli'Andrey Andreev1-5/+17
Supersedes PR #3415
2014-11-03Polish changes following #3305Andrey Andreev1-4/+2
Also add support for field comments in PostgreSQL & Oracle ... only via alter_table() for now :/
2014-11-03Move MySQL comments to MySQL forge classes onlyZachary Flower1-1/+3
2014-11-03Move comment field after unique field in db forgeZachary Flower1-1/+1
2014-11-03Add support for the COMMENT field in DBForge and MySQL Forge classes (pdo, ↵Zachary Flower1-0/+1
mysql, and mysqli) Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev4-57/+106
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 > 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.
2014-01-20Add support for optional table attributes to CI_DB_forge::create_table()Andrey Andreev1-6/+24
Supersedes PRs #989, #2776 Related issue: #41
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-29Fix list_fields seek bugChris Buckley1-0/+1
On the first list_fields call, the field pointer is moved to the end of the list of fields. This change ensures that the pointer is positioned at the start of the field list before grabbing the names. Signed-off-by: Chris Buckley <chris@cmbuckley.co.uk>
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 Andreev4-4/+4
2012-12-20[ci skip] Minor style/spacing changes following PR #2087Andrey Andreev1-2/+2
2012-12-20fixes #2081 : change parameter/variable name to 'foreign_key_checks', update ↵Andrew Podner1-4/+4
change log Signed-off-by:Andrew Podner <a.podner@me.com>
2012-12-19Resolves issue #2081 : provides an option to include statements to disable ↵Andrew Podner1-0/+13
and re-enable foreign key checks in a MySQL database backup output statement.
2012-12-04Rename DB_result _data_seek() to data_seek() and make it publicly availableAndrey Andreev1-1/+1
(as requested in #2050)
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
2012-11-25Fix #2027Andrey Andreev1-2/+13
2012-11-22Fix modify_column() issues (#2020)Andrey Andreev1-1/+1
2012-11-16Improve DB field_data() for MySQL and CUBRIDAndrey Andreev2-7/+12
2012-11-12Bring back the AFTER clause for DB Forge add_column()Andrey Andreev1-1/+10
(it was temporarily removed due to multiple inconsistencies with other drivers) This commit also fixes issue #1988. Also added support for the FIRST clause (again, MySQL and CUBRID only).
2012-11-11Fix DBForge index creation on MySQL and CUBRIDAndrey Andreev1-0/+10
2012-11-08Fix #1985Andrey Andreev1-2/+2
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev1-2/+3
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Refactored DB ForgeAndrey Andreev1-116/+91
- 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/+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-02[ci skip] DocBlocks for DB drivers' result classesAndrey Andreev1-3/+3
Partially fixes issue #1295.