summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2015-08-05Fix #4026Andrey Andreev1-1/+4
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-3/+3
Partial changes from PR #4016
2015-06-29Close #3934Andrey Andreev1-1/+1
2015-04-29Add list_fields() support for SQLite3Andrey Andreev1-1/+1
2015-02-19Fix postgre driver configAndrey Andreev1-1/+0
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-9/+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-04Fixed inconsistent return typesGabriel Potkány1-1/+1
2015-01-29fix typo in commentsClaudio Galdiolo1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'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-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
2015-01-05Fix #3460Andrey Andreev1-1/+1
2015-01-05Polish changes following PR #3416Andrey Andreev1-22/+26
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-02Regressions ... #3380 #3194 ab9217e316a79bc8fab2840c8f5bd2b9bc7a4dc0Andrey Andreev1-2/+3
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
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-17Fix #3238Andrey Andreev1-3/+2
Close #3239
2014-04-30Added `_trans_failure` property to fix PHP Warning.Ahmedul Haque Abid1-0/+9
2014-04-09Removed BOMEtki1-1/+1
2014-04-09MicrofixEtki1-7/+1
cleaned `return true; return true;` construction
2014-03-13Partially revert PR #2190Andrey Andreev1-1/+1
The core shouldn't depend on constants that are not defined by itself
2014-02-27Call db_connect(TRUE) instead of db_pconnect() + some style changesAndrey Andreev1-18/+22
2014-02-26More removal of error suppression usageAndrey Andreev1-7/+4
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-0/+12
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.
2014-01-07A tiny regexp improvement for CI_DB_driver::is_write_type()Andrey Andreev1-1/+1
2013-12-20Polishing changes from #PR #2781Andrey Andreev1-3/+3
Looks like an unnecessary commit was made by the author just as I was clicking the Merge button. :)
2013-12-19so we need \sNOT EXISTSTufan Barış YILDIRIM1-1/+1
2013-12-19changed EXISTS / NOT EXISTS patternTufan Barış YILDIRIM1-3/+3
@narfbg "It has parenthesis, so use the IN / NOT IN pattern as a base."
2013-12-19EXISTS / NOT EXISTS clause support for DB_driverTufan Barış YILDIRIM1-3/+3
2013-12-19EXISTS / NOT EXISTS clause support for DB_driverTufan Barış YILDIRIM1-2/+4
2013-12-19EXISTS / NOT EXISTS clause support for DB_query_builder.Tufan Barış YILDIRIM1-2/+4
2013-12-14DB call_function() bug : funny typo -or- smart autocomplete?Kakysha1-1/+1
2013-10-21Fix #2691Andrey Andreev1-1/+8
2013-10-17Replace the last rand() with mt_rand()vlakoff1-1/+1
Better entropy, faster. Also fixed a few "it's" typos.
2013-08-06Fix #2501 & another -related bugAndrey Andreev1-1/+3
2013-07-17Cherry-picking some changes from PR #2425:Andrey Andreev1-1/+0
- Session events logging (debug) - Bug fix for OCI8 method stored_procedure()
2013-05-12Do not trigger a possible custom autoloader, as it is irrelevant herevlakoff1-1/+1
These were the last two calls of class_exists() without the $autoloader = FALSE argument.
2013-04-04Merge pull request #2343 from QOX/developAndrey Andreev1-1/+1
Fixed problem for transaction test mode.
2013-04-03Fixed for styleguide.Katsumi Honda1-1/+1
2013-04-03fixed for styleguide.Katsumi Honda1-2/+2
|| to OR remove the empty line at EOF
2013-03-29Merge pull request #2365 from vlakoff/developAndrey Andreev1-1/+1
Documentation: fix some outdated paths
2013-03-29Documentation: fix some outdated pathsvlakoff1-1/+1
2013-03-29Fix #2353Andrey Andreev1-1/+4
2013-03-21Making a performance modification to DB_driver list_fields()RJ garcia1-7/+2
Signed-off-by: RJ garcia <rj@bighead.net>
2013-03-19Fixed problem for transaction test mode.Katsumi Honda1-2/+2
trans_complete function is committed in test mode. Because any database drivers are set _trans_failure in test_mode, And trans_complete function is not evaluate _trans_failure.
2013-02-23Updated exit codes as constant valuesDaniel Hunsaker1-1/+1
Re-allocated exit status codes according to three references, which follow: BSD sysexits.h:http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits GNU recomendations:http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html Bash scripting:http://tldp.org/LDP/abs/html/exitcodes.html The GNU recommendations stem from and expand upon the standard C/C++ library (stdlibc) definitions, while also suggesting some best-practice conventions which happen to prevent exit status code collisions with bash, and probably other shells. The re-allocated codes are now mapped to constant values, set in *application/config/constants.php*, and used throughout the CodeIgniter core. They would additionally be used in *index.php*, but the constants file hasn't been loaded at that point, so the integer values are used instead, and a comment follows each such use with amplifying information on why that particular value was selected. Finally, the errors documentation has been updated accordingly. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-02-22Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Daniel Hunsaker1-2/+2
feature/exit-status