summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
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
2014-08-27Removed empty lineRougin Gutib1-1/+1
2014-08-26Merge pull request #3195 from hArpanet/developAndrey Andreev1-3/+3
ibase_driver returning whitespace in table/column names
2014-08-26ibase_driver add table/column aliaseshArpanet1-3/+3
to satisfy DB_driver expectations
2014-08-24Fixed typo errorRougin Royce Gutib1-2/+2
2014-08-22Query builder, IS NOT NULL support #3194: Strict comparison.Ivan Tcholakov1-1/+1
2014-08-21Query builder: IS NOT NULL support implementation, see #3194Ivan Tcholakov1-0/+9
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-08-15Fix #3187Andrey Andreev1-1/+1
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-09Call data_seek(0) only if we've used DB_result::*row*() methodsAndrey Andreev1-3/+3
This should fix HHVM where it throws 'Unable to jump to row 0 on MySQL result index X' error messages for ext/mysqli
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)