summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
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
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/+15
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev1-21/+42
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' result classesAndrey Andreev1-5/+5
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' utility classesAndrey Andreev2-3/+29
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev4-4/+8
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 Andreev2-0/+2
2012-10-12Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-15/+12
feature/db_qb_aliasing
2012-10-12Fix mysql's db_connect()Andrey Andreev1-2/+3
2012-10-12Set MySQL client compression to FALSE by default (problems reported with ↵Andrey Andreev1-15/+11
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting
2012-10-12Merge changes from developAndrey Andreev1-6/+36
2012-10-09Really fix that FROM group conditionAndrey Andreev1-1/+1
2012-10-09Alter fix for issue #1257Andrey Andreev1-0/+20