summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2015-02-04Adjusted return type for CI_DB_utility::backup to suggestionsGabriel Potkány1-1/+1
2015-02-04Adjusted returns/return types to suggestionsGabriel Potkány1-2/+2
2015-02-04Fixed inconsistent return typesGabriel Potkány2-2/+2
2015-02-03Fix a wrong var name in class CI_DB_pdo_4d_forge::_attr_typeGwenael Gallon1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-7/+7
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-28fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-26... and neither does MYSQLI_OPT_RECONNECTAndrey Andreev1-1/+0
2015-01-26Apparently MYSQLI_OPT_READ_TIMEOUT doesn't work on PHPAndrey Andreev1-1/+0
2015-01-26Close #3509Andrey Andreev1-0/+4
Not really a bug, but ...
2015-01-23Corrected loop with the $c variableGwenael G1-1/+1
2015-01-23Fix error extends class nameGwenael G1-1/+1
2015-01-23This $comment_clause local variable is declared but never used.Gwenael G1-2/+0
2015-01-21Remove closing blocks at end of PHP filesvlakoff79-237/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev3-3/+3
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
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-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-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 Andreev79-237/+237
- 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
2015-01-05Fix #3460Andrey Andreev1-1/+1
2015-01-05Polish changes following PR #3416Andrey Andreev1-22/+26
2014-12-17Add support for configuring socket pipe connections in 'mysqli'Andrey Andreev1-5/+17
Supersedes PR #3415
2014-12-16User Guide - DB Driver ReferenceJames L Parry1-5/+5
First stab at DB driver reference. Methods are listed in order encountered in the source file. Parameter or return types in DB_driver updated as needed, and reflected here. TOC entry added to bottom of database index page. Signed-off-by:James L Parry <jim_parry@bcit.ca>
2014-12-11Add method chaining support ot CI_DB_query_builder::reset_query()Andrey Andreev1-1/+2
2014-12-11Add method chaining support to QB cache methodsAndrey Andreev1-20/+22
2014-12-04DB forge/utilities polishing (docs) following #3375, #3378Andrey Andreev1-50/+9
2014-12-02Regressions ... #3380 #3194 ab9217e316a79bc8fab2840c8f5bd2b9bc7a4dc0Andrey Andreev2-4/+5
2014-12-01Improve on the fix for #3380Andrey Andreev1-1/+1
2014-12-01Fix a regression from the previous commitAndrey Andreev1-1/+1
2014-12-01Fix #3380Andrey Andreev1-1/+1
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 Flower4-36/+15
2014-11-03Move comment field after unique field in db forgeZachary Flower4-6/+6
2014-11-03Ensure forge comments are actually getting parsedZachary Flower1-0/+2
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
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 Flower4-0/+33
mysql, and mysqli) Signed-off-by: Zachary Flower <zach@ninjaninja.net>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev79-1119/+2005
2014-10-20Escape the array elements separately and join them in compile_binds()clawoo1-2/+7
2014-10-18Escape arrays sent as binding values for database queries.clawoo1-1/+6
2014-09-29Close #3194Andrey Andreev1-0/+4
2014-09-29Revert #3194Andrey Andreev1-13/+0
This has caused way too many BC breaks (#3238, #3242, #3257). Close #3257
2014-09-18Fix #3242Andrey Andreev1-1/+1
2014-09-17Fix #3238Andrey Andreev2-7/+10
Close #3239
2014-08-27Fix #2963Andrey Andreev1-8/+3
Changed all file permissions settings throught the framework and the documentation. Also added configuration settings for CI_Log and CI_Image_lib
2014-08-27Merge pull request #3202 from rougin/patch-1Andrey Andreev1-1/+1
Fixed typo error