summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29Fix list_fields seek bugChris Buckley3-0/+3
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 Andreev2-1/+27
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 Andreev12-344/+39
Added protected method _escape_str() to deal with quote escaping.
2013-01-10Fix SQLSRV escape_str()Andrey Andreev1-1/+23
2013-01-10Apply improvement proposed in #2142Andrey Andreev2-2/+2
2013-01-09Fix interbase limit issue for subqueriesTimothy Warren1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev72-72/+72
2012-12-20[ci skip] Minor style/spacing changes following PR #2087Andrey Andreev2-4/+4
2012-12-20fixes #2081 : change parameter/variable name to 'foreign_key_checks', update ↵Andrew Podner2-8/+8
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 Podner2-0/+26
and re-enable foreign key checks in a MySQL database backup output statement.
2012-12-15Fix #2072Andrey Andreev1-1/+1
2012-12-04Remove CI_DB_oci8_result::data_seek()Andrey Andreev1-63/+0
It can only call oci_execute() in order to reset the pointer to 0, the oci8 driver doesn't support setting the pointer. Due to the result_object(), result_array() and custom_result_object() calling data_seek() every time prior to fetching the result set, this only causes the query to be executed twice. All of the three methods now cast from existing result_object and/or result_array sets, so the probability to ever need to really fetch the result set again is practically zero and so this method doesn't bring any benefit.
2012-12-04Rename DB_result _data_seek() to data_seek() and make it publicly availableAndrey Andreev8-9/+14
(as requested in #2050)
2012-12-03Fix postgre db_connect()Andrey Andreev1-6/+6
2012-12-03Improve schema support for PostgreAndrey Andreev2-12/+43
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev13-19/+19
2012-11-25Fix #2027Andrey Andreev5-10/+65
2012-11-22Fix modify_column() issues (#2020)Andrey Andreev11-41/+37
2012-11-20Fix issue #2015Andrey Andreev2-170/+20
2012-11-19Update system/database/drivers/sqlsrv/sqlsrv_driver.phpEco911-1/+1
2012-11-19Update system/database/drivers/sqlsrv/sqlsrv_driver.phpEco911-1/+1
Connection error if database name contains space-characters. Use of MSSQL brackets => 'USE [Database Name]'  instead of 'USE Database Name'
2012-11-19Add db_set_charset() support for the mssql driverAndrey Andreev1-0/+13
2012-11-17Improve DB field_data() for IBM Informix and IBM DB2 (PDO)Andrey Andreev2-19/+84
2012-11-16Improve DB field_data() for PostgreSQLAndrey Andreev7-26/+74
2012-11-16Improve DB field_data() for Oracle (and fix its max_length for MSSQL / SQLSRV)Andrey Andreev6-26/+142
2012-11-16Improve DB field_data() for SQLiteAndrey Andreev5-26/+108
2012-11-16Improve DB field_data() for Interbase / FirebirdAndrey Andreev3-17/+72
2012-11-16Improve DB field_data() for MSSQL / SQL ServerAndrey Andreev6-32/+148
2012-11-16Improve DB field_data() for MySQL and CUBRIDAndrey Andreev9-88/+130
2012-11-13Fix PostgreSQL WHERE with boolean valuesAndrey Andreev2-0/+35
2012-11-13Add seed values support for Query Builder order_byAndrey Andreev18-27/+132
(feature request #1987)
2012-11-12Bring back the AFTER clause for DB Forge add_column()Andrey Andreev14-14/+99
(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 Andreev5-0/+50
2012-11-08Fix #1985Andrey Andreev3-6/+6
2012-11-06Fix a lang key typoAndrey Andreev15-15/+15
2012-11-06Fix #589Andrey Andreev6-2/+94
2012-11-06Added possibility to pass custom database objects to DB Forge and DB UtilitiesAndrey Andreev7-14/+21
Also, their property is no longer public and the utility class no longer extends CI_DB_forge.
2012-11-05Refactored DB ForgeAndrey Andreev24-1306/+2869
- 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 Andreev7-14/+66
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev24-410/+786
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' result classesAndrey Andreev12-43/+64
Partially fixes issue #1295.
2012-11-02[ci skip] DocBlocks for DB drivers' utility classesAndrey Andreev21-37/+195
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev60-60/+120
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-27Docblock improvementsAndrey Andreev4-4/+12
2012-10-27Add database schema configuration support (used by PostgreSQL, fix #158)Andrey Andreev4-10/+30
2012-10-25Merge pull request #1703 from ylynfatt/fix-oracle-out-of-sequence-warningAndrey Andreev1-1/+1
Fix for oci_fetch_assoc(): ORA-01002: fetch out of sequence warning
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev20-14/+50
2012-10-23Fix issue #1917Andrey Andreev4-10/+86
2012-10-22Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-1/+1
feature/db_qb_aliasing
2012-10-13Apparently not all PHP builds consider mysqli::__construct() with no ↵Andrey Andreev1-1/+1
parameters to be the same as mysqli_init()