Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-21 | Making a performance modification to DB_driver list_fields() | RJ garcia | 1 | -7/+2 | |
Signed-off-by: RJ garcia <rj@bighead.net> | |||||
2013-02-23 | Updated exit codes as constant values | Daniel Hunsaker | 1 | -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-22 | Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵ | Daniel Hunsaker | 1 | -2/+2 | |
feature/exit-status | |||||
2013-02-21 | Merge pull request #2266 from dionysiosarvanitis/fix/trans_complete | Andrey Andreev | 1 | -1/+1 | |
DB_driver's trans_complete exception fix | |||||
2013-02-21 | DB_result tests seem to also depend on autoloading via the class_exists() ↵ | Andrey Andreev | 1 | -1/+1 | |
checks ... | |||||
2013-02-21 | Disable autoloader call from class_exists() occurences to improve performance | Andrey Andreev | 1 | -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-02-19 | DB_driver's trans_complete exception fix | Dionysis Arvanitis | 1 | -1/+1 | |
2013-01-25 | Updated all cases of exit() to return a valid code | Daniel Hunsaker | 1 | -1/+1 | |
Specific codes are as follows, but can easily be changed if a different order/breakdown makes more sense: - 0: Success; everything executed as planned - 1: Configuration Error; something is wrong with/in the configuration file(s) - 2: Class Not Found; what it says - 3: Driver Method Unsupported; the method you're trying to use on a Driver doesn't exist - 4: File Not Found; 404 error - 5: Database Error; something is broken in the database somewhere - 6: Invalid Input; the user attempted to submit a request with invlaid characters in 1+ key names 7 through 26 are reserved for future use - 27: Generic Error; generated by show_error() when the status code is >= 100 28 through 127 are errors generated by user applications, normally by using show_error() with a status code below 100 128 through 254 should not be used by applications, as they are reserved by system-level functions - 255: PHP Fatal Error; automatically generated by PHP for fatal errors, and therefore not allowed for our use Status codes below 100 are shifted up by 28 to place them in the user error range. It may make more sense to have these codes left alone and instead shift the CI errors into the 101 through 127 space, but that's not what I opted for here. It would probably also be a good idea to replace the hard-coded numbers with constants or some such, but I was in a bit of a hurry when I made these changes, so I didn't look around for the best place to do this. With proper guidance, I could easily amend this commit with another that uses such constant values. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com> | |||||
2013-01-24 | Move db_select() call from CI_DB_driver::initialize() to db_connect() | Andrey Andreev | 1 | -14/+0 | |
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187. | |||||
2013-01-14 | Replace is_null() with === / !== NULL | vlakoff | 1 | -1/+1 | |
Exact same behavior, but faster. I also think it's more readable. | |||||
2013-01-10 | Unify escape_str() array input and LIKE logic | Andrey Andreev | 1 | -1/+48 | |
Added protected method _escape_str() to deal with quote escaping. | |||||
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 1 | -1/+1 | |
2012-11-20 | Fix #1996 | Andrey Andreev | 1 | -10/+13 | |
2012-11-20 | Fix issue #2015 | Andrey Andreev | 1 | -1/+1 | |
2012-11-20 | Fix an E_NOTICE | Andrey Andreev | 1 | -1/+1 | |
2012-11-13 | Fix some DB_cache-related issues | Andrey Andreev | 1 | -1/+1 | |
http://codeigniter.com/forums/viewthread/229610/ | |||||
2012-11-13 | Add seed values support for Query Builder order_by | Andrey Andreev | 1 | -2/+2 | |
(feature request #1987) | |||||
2012-11-06 | Fix an escape_identifiers() bug | Andrey Andreev | 1 | -1/+1 | |
2012-11-02 | [ci skip] DocBlocks for DB drivers' driver classes | Andrey Andreev | 1 | -0/+14 | |
Partially fixes issue #1295. | |||||
2012-11-02 | DocBlocks for base DB classes | Andrey Andreev | 1 | -12/+251 | |
Partially fixes issue #1295. | |||||
2012-11-01 | Manually apply PR #1594 (fixing phpdoc page-level generation/warnings) | Andrey Andreev | 1 | -1/+2 | |
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files. | |||||
2012-11-01 | Fix an update_string() bug | Andrey Andreev | 1 | -27/+3 | |
2012-10-25 | Add missing delimiter in preg_quote() occurences (fix #1929) | Andrey Andreev | 1 | -5/+5 | |
2012-10-24 | [ci skip] style and phpdoc-related changes (rel #1295) | Andrey Andreev | 1 | -4/+11 | |
2012-10-12 | Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵ | Andrey Andreev | 1 | -1/+1 | |
feature/db_qb_aliasing | |||||
2012-10-12 | Set MySQL client compression to FALSE by default (problems reported with ↵ | Andrey Andreev | 1 | -1/+1 | |
it), fix some typos, add encrypted database connections support and fix SQLSRV CharacterSet setting | |||||
2012-10-12 | Fix _get_operator() for 'LIKE expr ESCAPE' | Andrey Andreev | 1 | -2/+1 | |
2012-10-12 | Merge changes from develop | Andrey Andreev | 1 | -3/+14 | |
2012-10-09 | Fix issue #1862 | Andrey Andreev | 1 | -1/+1 | |
2012-10-05 | Fix #1745 | Andrey Andreev | 1 | -1/+1 | |
2012-10-05 | Fix issue #1692 | Andrey Andreev | 1 | -2/+8 | |
2012-10-04 | Fix issue #1789 | Andrey Andreev | 1 | -0/+4 | |
Signed-off-by: Andrey Andreev <narf@bofh.bg> | |||||
2012-09-12 | Minor adjustments | Andrey Andreev | 1 | -1/+1 | |
2012-09-05 | Check for "Loader" in $call['class'] instead of $call['file'] | Jonathan Bonnefoy | 1 | -1/+1 | |
2012-09-05 | Database display error supporting "Loader.php" and "MY_Loader.php" | Jonathan Bonnefoy | 1 | -1/+1 | |
2012-08-20 | compression test | Michiel Vugteveen | 1 | -0/+1 | |
2012-07-19 | Fix CI_DB_driver::_get_operator() | Andrey Andreev | 1 | -20/+19 | |
2012-07-19 | Add back a removed paramter description | Andrey Andreev | 1 | -0/+1 | |
2012-07-19 | Implement _compile_order_by() | Andrey Andreev | 1 | -2/+2 | |
2012-07-19 | Remove _limit()'s extra parameters and qb_limit, qb_offset unneeded ↵ | Andrey Andreev | 1 | -1/+1 | |
typecasts + add _compile_group_by() method | |||||
2012-07-18 | Remove dependancies on qb_like and remove unneeded parameters from ↵ | Andrey Andreev | 1 | -27/+26 | |
_delete(), _like(), _update(), _update_batch() | |||||
2012-07-17 | Fix WHERE escaping/prefixing | Andrey Andreev | 1 | -2/+15 | |
2012-07-13 | escape_identifiers() to not escape string literals inside double quotes as well | Andrey Andreev | 1 | -1/+1 | |
2012-07-08 | Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵ | Andrey Andreev | 1 | -3/+3 | |
feature/db_subdrivers | |||||
2012-07-06 | Fix a few join() bugs | Andrey Andreev | 1 | -3/+3 | |
2012-07-05 | Merge upstream branch | Andrey Andreev | 1 | -3/+67 | |
2012-07-05 | Add a default _count_string property | Andrey Andreev | 1 | -0/+7 | |
2012-07-05 | Move _insert() and _update() defaults from Query Builder to DB_driver so ↵ | Andrey Andreev | 1 | -3/+60 | |
that they're available for use by insert_string() and update_string() at all times | |||||
2012-07-02 | Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵ | Andrey Andreev | 1 | -3/+12 | |
feature/db_subdrivers | |||||
2012-07-02 | Fix field escaping with brackets | Andrey Andreev | 1 | -3/+7 | |