summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
AgeCommit message (Collapse)AuthorFilesLines
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
2012-10-04Fix issue #1789Andrey Andreev1-4/+0
Signed-off-by: Andrey Andreev <narf@bofh.bg>
2012-08-20mysql driver updatedMichiel Vugteveen1-2/+16
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-5/+5
_delete(), _like(), _update(), _update_batch()
2012-07-06_fetch_object(), custom_result_object() to utilize PHP's native capability ↵Andrey Andreev1-2/+3
to directly return custom class results
2012-07-05Apparently mysql_data_seek() causes problems even when we suppress and ignore itAndrey Andreev1-4/+21
2012-07-05Add a default _count_string propertyAndrey Andreev1-6/+0
2012-07-05Clean-up the separate drivers' DB result classes from no longer needed methodsAndrey Andreev1-1/+4
2012-07-05Suppress mysql_data_seek()'s ambiguous E_WARNING messagesAndrey Andreev1-1/+1
2012-06-24Add a default _limit() method to the Query Builder classAndrey Andreev1-17/+0
2012-06-24Minor changes to the MySQL and MySQLi driversAndrey Andreev1-2/+10
2012-06-15Fixed ANOTHER DB_Forge bug in the mysql driver. Phil Sturgeon1-1/+1
I'm watching you @narfbg.
2012-06-08escape_identifiers() to accept arrays as wellAndrey Andreev2-4/+4
2012-06-08Add a default _from_tables() method to CI_DB_query_builder and remove it ↵Andrey Andreev1-21/+0
from most of the drivers
2012-06-08Revert back some escape_identifiers() to proect_identifiers() as the first ↵Andrey Andreev1-3/+3
one can't handle arrays
2012-06-08Resolve formatting differences between DB forge driversAndrey Andreev1-15/+29
2012-06-04Revert/optimize some changes from 48a2baf0e288accd206f5da5031d29076e130792Andrey Andreev1-1/+1
2012-06-02Fixed bug in MySQL driver introduced in 48a2baf0e288accd206f5da5031d29076e130792Alex Bilbie1-1/+1