summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
AgeCommit message (Collapse)AuthorFilesLines
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 Andreev20-110/+22
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 Andreev72-216/+216
- 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-12-17Add support for configuring socket pipe connections in 'mysqli'Andrey Andreev1-5/+17
Supersedes PR #3415
2014-11-18Force ORDER BY usage with OFFSET-FETCH on SQL ServerAndrey Andreev2-0/+6
Close #3128 Close #3332 Close #3334 Close #3335
2014-11-13Fix an issue with 'postgre' persistent connectionsAndrey Andreev1-14/+13
Basically, they were never persistent.
2014-11-03Polish changes following #3305Andrey Andreev7-15/+42
Also add support for field comments in PostgreSQL & Oracle ... only via alter_table() for now :/
2014-11-03Remove comment field definition from all other forge classesZachary Flower20-140/+0
2014-11-03Move MySQL comments to MySQL forge classes onlyZachary Flower3-3/+9
2014-11-03Move comment field after unique field in db forgeZachary Flower3-3/+3
2014-11-03Disable database COMMENT field by default in all other DB Forge driversZachary Flower20-0/+140
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-11-03Add support for the COMMENT field in DBForge and MySQL Forge classes (pdo, ↵Zachary Flower3-0/+3
mysql, and mysqli) Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev72-1021/+1830
2014-08-26ibase_driver add table/column aliaseshArpanet1-3/+3
to satisfy DB_driver expectations
2014-08-21ibase_driver returning whitespace in table/column nameshArpanet1-3/+3
Currently all Table and Field names are returned padded with whitespace up to string(124).
2014-07-05Missing looping index added. Without index empty rows returned for csv ↵Dionysis Arvanitis1-1/+1
column headers.
2014-07-01Fix #3124Andrey Andreev1-2/+2
2014-06-19Fix #3112Andrey Andreev4-15/+4
2014-05-09Remove (most of) error suppression from database drivers (issue #3036)Andrey Andreev17-56/+61
2014-05-07Remove error-masking '@' in mysqli_driver (See: ↵mdunisch1-2/+2
https://github.com/EllisLab/CodeIgniter/issues/3036)
2014-04-25Minor fixesvlakoff1-1/+1
2014-03-24[ci skip] Spacing adjustmentsAndrey Andreev1-10/+10
2014-03-10Add support for callable form validation rulesAndrey Andreev1-1/+1
2014-02-26Don't use error suppression on is_dir(), file_exists()Andrey Andreev3-3/+3
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 Andreev6-10/+10
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev12-214/+39
2014-02-20Don't use error suppression with ini_set()Andrey Andreev1-1/+1
2014-02-112013 > 2014darwinel72-72/+72
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-09Style Guidedarwinel1-1/+1
Logical Operators Use of || is discouraged as its clarity on some output devices is low (looking like the number 11 for instance). && is preferred over AND but either are acceptable, and a space should always precede and follow !
2014-02-05Fix #2856Andrey Andreev1-1/+1
2014-01-30Previous 2 commits were just dumbAndrey Andreev1-1/+1
2014-01-30Fix a syntax error from last commitAndrey Andreev1-1/+1
2014-01-30Some fail-safe pdo_pgsql adjustmentsAndrey Andreev2-2/+7
2014-01-21Merge branch 'feature/dbforge_table_attributes' into developAndrey Andreev3-18/+72
2014-01-21SQLSRV improvementsAndrey Andreev2-3/+66
Mainly for performance (issue #2474), but also added a 'scrollable' configuration flag and auto-detection for SQLSRV_CURSOR_CLIENT_BUFFERED (only available since SQLSRV 3).
2014-01-20Add support for optional table attributes to CI_DB_forge::create_table()Andrey Andreev3-18/+72
Supersedes PRs #989, #2776 Related issue: #41
2014-01-07A tiny regexp improvement for CI_DB_driver::is_write_type()Andrey Andreev2-2/+2
2013-12-10Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all driversAndrey Andreev3-0/+49
Supersedes PR #2756
2013-11-27[ci skip] Remove a few more spacesAndrey Andreev1-1/+1
2013-09-13Fix a PostgreSQL string escaping bug and use pg_escape_literal() when possibleAndrey Andreev1-2/+6
2013-09-13Update MySQLi to use the PHP API for transactions, where possibleAndrey Andreev1-9/+18
2013-09-11Really fix #2490, rel: #2629Andrey Andreev2-2/+2
2013-09-10Add support for UPDATE ... RETURNING statements in PostgreSQLAndrey Andreev2-2/+2
An improved version of PR #2629. Also removes REPLACE from the regular expression, as it is not supported by PostgreSQL.
2013-09-08Adjust a few phpdoc in query builder codevlakoff2-2/+2
2013-08-06Various typos and tabs adjustmentsvlakoff2-2/+2
2013-07-29Fix #2568Andrey Andreev1-2/+2
2013-07-17Fix #2490 (an improved version of PR #2534)Andrey Andreev2-0/+26
2013-07-17[ci skip] Remove some empty linesAndrey Andreev1-1/+1
2013-07-17Merge pull request #2447 from rlerdorf/developAndrey Andreev1-2/+2
A few minor fixes and cleanups