summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Annual copyright updateMaster Yoda4-8/+8
2017-01-16spelling fixesklemens1-2/+2
2016-12-31Update copyright data to 2017Master Yoda4-8/+8
2016-07-26Merge branch '3.1-stable' into developAndrey Andreev1-0/+1
Conflicts resolved: .travis.yml system/core/CodeIgniter.php system/database/drivers/oci8/oci8_forge.php system/database/drivers/pdo/subdrivers/pdo_oci_forge.php system/helpers/path_helper.php system/libraries/Email.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/contributing/index.rst user_guide_src/source/general/requirements.rst user_guide_src/source/general/styleguide.rst user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrade_310.rst user_guide_src/source/installation/upgrading.rst
2016-06-08Make db_select() clear cached database metadataAndrey Andreev1-0/+1
2016-01-11[ci skip] Merge branch '3.0-stable' into developAndrey Andreev4-4/+4
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev4-4/+4
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev4-8/+8
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev4-8/+8
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev4-8/+8
2016-01-11[ci skip] Bump year to 2016Andrey Andreev4-8/+8
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev1-3/+20
Resolved conflicts: system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php
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-12-14Fix erroneous variables from 85bc9fc53e4c3e46b2f4e1b1eac7e2828d4869e6Andrey Andreev1-1/+1
2015-12-14Change DB charset handlingAndrey Andreev1-16/+15
Close #4311
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