summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2015-06-08Fixed missing MySQLi driver parameter DOCBLOCK descriptions. Updated ↵Tim Nolte1-0/+10
database configuration documentation to include a list of the new MySQLi driver parameters. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-06-05Updated the MySQLi driver to provide support for SSL connections as well as ↵Tim Nolte1-2/+90
additional database connection options. Uses the DB_driver class encrypt option as the flag for turning on encryption. Also added SSL connection validation with error logging in order to provide users a way to know if they are actually connecting via SSL. Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
2015-04-14Fix #3773Andrey Andreev1-0/+24
2015-04-08[ci skip] Fix comment typosAndrey Andreev1-1/+1
https://github.com/bcit-ci/CodeIgniter/pull/3748#issuecomment-90925762
2015-04-06Move strtolower() call from PR #3739 out of the loopAndrey Andreev1-3/+2
2015-04-06#3727 Lowercase $side variable for $this->db->like() in Query BuilderYahya Erturan1-0/+3
$this->db->like('name',$value,'AFTER') returns LIKE '%$value%'. Safer to lowercase in case of UPPERCASE habits.
2015-03-16update documentation in database/query_builder.rst, change 2 tabs + 4 spaces ↵yaoshanliang1-3/+3
to 3 tabs.
2015-03-15add changelog and documentation for adding an optional parameter to ↵yaoshanliang1-5/+6
``count_all_results()``
2015-03-14add a judgment of whether reset selectyaoshanliang1-4/+5
2015-03-14add a judgment of whether reset selectyaoshanliang1-2/+5
2015-02-19Fix postgre driver configAndrey Andreev2-1/+1
2015-02-19Remove 'autoinit' DB settingAndrey Andreev9-42/+1
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-17Finishing PR #3596 <!DOCTYPE html>Ivan Tcholakov1-1/+2
2015-02-15add <!DOCTYPE html>Tjoosten14-14/+28
2015-02-08Deleted spacesGwenael Gallon2-2/+2
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon1-1/+1
This reverts commit 96901ff3849c19351c7382689e6a970629586aae.
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon6-6/+6
This reverts commit 3053ded760a9657bdc7b935beb61d2f632859928.
2015-02-08Revert "Remove unnecessary return"Gwenael Gallon8-8/+8
This reverts commit 843d2506e1a1eab17b871bc38b204d27047c9ff7.
2015-02-07Remove unnecessary returnGwenael Gallon8-8/+8
2015-02-07Remove unnecessary returnGwenael Gallon6-6/+6
2015-02-07Remove unnecessary returnGwenael Gallon1-1/+1
2015-02-07Revert indentationGwenael Gallon2-8/+8
2015-02-07Fix unreachable codeGwenael Gallon2-10/+10
2015-02-05Merge pull request #3551 from gadelat/voidsAndrey Andreev2-2/+2
Fixed inconsistent return types
2015-02-05Allow a database to be loaded before controller instantiationAndrey Andreev1-9/+14
2015-02-04Adjusted return type for CI_DB_utility::backup to suggestionsGabriel Potkány1-1/+1
2015-02-04Fix typos in func namesGabriel 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