summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
2022-03-02[ci skip] Update copyright noticesAndrey Andreev4-4/+8
2022-02-11[ci skip] Merge pull request #6098 from totoprayogo1916/indent-whitespacesAndrey Andreev1-1/+0
Minor indentation & whitespace corrections
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev4-4/+4
Fix user guide url
2019-07-16Fix #5796Andrey Andreev1-1/+1
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT4-12/+12
Update copyright date to 2019
2018-01-09[ci skip] Merge pull request #5376 from jim-parry/copyright-updateAndrey Andreev4-8/+8
Annual copyright update Conflicts resolved: system/libraries/Cache/drivers/Cache_apcu.php
2017-01-17[ci skip] Merge pull request #4986 from ka7/feature/spellingAndrey Andreev1-2/+2
Spelling fixes in comment blocks and docs
2017-01-03Update copyright data to 2017Master Yoda4-8/+8
2016-06-08Make db_select() clear cached database metadataAndrey Andreev1-0/+1
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-07MySQL stricton again ... remove the version conditionAndrey Andreev1-1/+1
Ref: #4349
2016-01-07Fix MySQL errors from latest commitsAndrey Andreev1-1/+1
Ref: #4349
2016-01-07Add MySQL stricton changes to mysqli and pdo/mysql driversAndrey Andreev1-11/+10
2016-01-07Fix MySQL's 'stricton' featureAndrey Andreev1-2/+20
2015-10-19Fix #4171 and a number of other transaction bugsAndrey Andreev1-27/+10
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-20Remove error suppression from mysql_*connect()Andrey Andreev1-2/+2
The suppression was kept so far because mysql_connect(), mysql_pconnect() emit E_DEPRECATION messages on PHP 5.5+. Well, we already default to 'mysqli' and there's no reason to use specifically 'mysql' on PHP 5.5, so we might as well let the deprecation notices appear and encourage users to switch drivers.
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-11-03Polish changes following #3305Andrey Andreev1-3/+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/+100
2014-06-19Fix #3112Andrey Andreev1-3/+1
2014-05-09Remove (most of) error suppression from database drivers (issue #3036)Andrey Andreev2-9/+12
2014-02-25Revert to error suppression on mysql_(p)connect() due to deprecation messagesAndrey Andreev1-2/+2
2014-02-25Remove error suppression usage from db_connect()Andrey Andreev1-2/+2
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-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-24Move db_select() call from CI_DB_driver::initialize() to db_connect()Andrey Andreev1-1/+15
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187.
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-5/+5
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-8/+12