summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-02-19Fix postgre driver configAndrey Andreev1-0/+1
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-5/+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-05Allow a database to be loaded before controller instantiationAndrey Andreev1-9/+14
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-14var_export in DB.php outputting stringJoão1-1/+1
When a DSN string is supplied and it contains parameters such as "db_debug=TRUE", var_export will currently output the parsable string representation of the variable. By setting the second parameter to TRUE, the output is killed.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- 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-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-02-27Call db_connect(TRUE) instead of db_pconnect() + some style changesAndrey Andreev1-12/+8
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-12-10Fix a bug where DB() tried to set the MySQL-specific 'sql_mode' on all driversAndrey Andreev1-5/+0
Supersedes PR #2756
2013-07-18More verbose error messages for incorrect/missing database groups (based on ↵Andrey Andreev1-2/+6
PR #2040)
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev1-2/+2
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-12Let's follow the style guide...vkeranov1-13/+13
2012-11-02DocBlocks for base DB classesAndrey Andreev1-2/+15
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-07-05Merge upstream branchAndrey Andreev1-2/+17
2012-07-05Move _insert() and _update() defaults from Query Builder to DB_driver so ↵Andrey Andreev1-4/+7
that they're available for use by insert_string() and update_string() at all times
2012-07-05code cleanup and changelog addedRene Brokholm1-13/+13
2012-07-05I added so the DB.php is aware of database config files in packages.Rene Brokholm1-1/+16
This way if a package is containing a database.php file in its config folder this will be parset alongside the aplication/config/database.php file.
2012-06-25Some fixesAndrey Andreev1-2/+2
2012-06-23Fix the subdriver checkAndrey Andreev1-1/+1
2012-06-23Alter DB() to check if a subdriver is availableAndrey Andreev1-1/+17
2012-06-12Change file permissions for system/core/*.php and system/database/DB.php so ↵Andrey Andreev1-0/+0
that they don't differ from the rest
2012-06-04Revert/optimize some changes from 48a2baf0e288accd206f5da5031d29076e130792Andrey Andreev1-2/+2
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/databaseAlex Bilbie1-5/+5
2012-05-24Add backwards compatibility work-around for the configuration settingAndrey Andreev1-0/+7
2012-05-24Remove the DB destructor (db->close())Andrey Andreev1-1/+1
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developJamie Rumbelow1-20/+21
Conflicts: system/core/Loader.php system/database/DB_query_builder.php system/database/drivers/cubrid/cubrid_driver.php system/database/drivers/mssql/mssql_driver.php system/database/drivers/mysql/mysql_driver.php system/database/drivers/mysqli/mysqli_driver.php system/database/drivers/oci8/oci8_driver.php system/database/drivers/odbc/odbc_driver.php system/database/drivers/pdo/pdo_driver.php system/database/drivers/postgre/postgre_driver.php system/database/drivers/sqlite/sqlite_driver.php user_guide_src/source/changelog.rst user_guide_src/source/database/query_builder.rst
2012-03-30Multi database setupTaufan Aditya1-7/+3
2012-03-28Travis setup and minor cleanupTaufan Aditya1-1/+6
2012-03-26Rename a variable and style fixes in system/database/DB.phpAndrey Andreev1-12/+12
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-19Renaming Active Record to Query Builder across the systemJamie Rumbelow1-9/+9
2012-02-09Fixed PDOTaufan Aditya1-0/+1
2012-01-08Improve database classesAndrey Andreev1-34/+20
2012-01-05Merge pull request #839 from GDmac/developGreg Aker1-2/+2
No need for eval to extend a class
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-26No need for eval to extend a classGDmac1-2/+2
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-15Added some docs to CI core filesDavid Behler1-1/+3
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-8/+8
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-8/+8
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-6/+6
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-04-06Made Environment Support optional. Comment out or delete the constant to ↵Phil Sturgeon1-9/+4
stop environment checks.
2011-02-14Whitespace cleanup in db classesPascal Kriete1-1/+1
2011-02-02Merged recent changes and tweaked multi-env changes.Phil Sturgeon1-1/+1
2011-01-16Changed loading process for database config to check for config for the set ↵joelcox1-1/+15
environment first.