summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2013-10-29Fix a bug when multiple calls to QB's _compile_wh() or _compile_group_by() ↵Andrey Andreev1-1/+12
are required
2013-10-28Really fix #2703Andrey Andreev1-1/+1
2013-10-28Fix #2703Andrey Andreev1-1/+17
2013-10-28Fixing the dumbest parser error everAndrey Andreev1-1/+1
2013-10-28Fix CI_DB_query_builder::_merge_cache() triggering E_WARNINGsAndrey Andreev1-3/+5
Kudos to kakysha for noting the bug & providing initial fix in PR #2698
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-09-13Fix a PostgreSQL string escaping bug and use pg_escape_literal() when possibleAndrey Andreev1-2/+6
2013-09-13Update MySQLi to use the PHP API for transactions, where possibleAndrey Andreev1-9/+18
2013-09-11Really fix #2490, rel: #2629Andrey Andreev2-2/+2
2013-09-10Add support for UPDATE ... RETURNING statements in PostgreSQLAndrey Andreev2-2/+2
An improved version of PR #2629. Also removes REPLACE from the regular expression, as it is not supported by PostgreSQL.
2013-09-08Merge pull request #2627 from vlakoff/develop-3Andrey Andreev3-3/+3
Adjust a few phpdoc in query builder code
2013-09-08Adjust a few phpdoc in query builder codevlakoff3-3/+3
2013-09-08Code cleanup in db->order_by()vlakoff1-1/+1
2013-08-06Various typos and tabs adjustmentsvlakoff2-2/+2
2013-08-06Fix #2585Andrey Andreev1-1/+1
2013-08-06Fix #2501 & another -related bugAndrey Andreev2-1/+4
2013-07-29Fix #2568Andrey Andreev1-2/+2
2013-07-18More verbose error messages for incorrect/missing database groups (based on ↵Andrey Andreev1-2/+6
PR #2040)
2013-07-17Fix #2490 (an improved version of PR #2534)Andrey Andreev2-0/+26
2013-07-17[ci skip] Remove some empty linesAndrey Andreev1-1/+1
2013-07-17Merge pull request #2447 from rlerdorf/developAndrey Andreev1-2/+2
A few minor fixes and cleanups
2013-07-17Cherry-picking some changes from PR #2425:Andrey Andreev2-7/+2
- Session events logging (debug) - Bug fix for OCI8 method stored_procedure()
2013-05-18It looks like this should be $alter_type hereRasmus Lerdorf1-2/+2
Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
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-21Merge pull request #2350 from ragboyjr/developAndrey Andreev1-7/+2
Making a performance modification to DB_driver list_fields()
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-03-15Fix MSSQL ALTER TABLE ADD statementAndrey Andreev1-1/+5
An improved version of PR #2329
2013-03-12Add a (default) CI_DB_query_builder::_update_batch() methodAndrey Andreev5-164/+41
An improved version of PR #2324, which only targets ODBC.
2013-03-04Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Daniel Hunsaker2-8/+5
feature/exit-status
2013-03-04Fix #2298Andrey Andreev1-6/+3
2013-03-01Optimize changes from PR #2290Andrey Andreev1-4/+2
2013-02-28added spaces after the parameter separatorsMichelle Jones1-2/+2
2013-02-27Remove trailing delimiters from csv_from_resultMichelle Jones1-1/+3
When using the csv_from_result function, the returned string includes an extra delimiter at the end of every line, usually a comma unless another delimiter is specified. A simple addition of a couple of lines to remove the extra delimiter from the column names and the data rows is included. (Lines 241 and 251)
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 Hunsaker7-13/+10
feature/exit-status
2013-02-21Merge pull request #2266 from dionysiosarvanitis/fix/trans_completeAndrey Andreev1-1/+1
DB_driver's trans_complete exception fix
2013-02-21DB_result tests seem to also depend on autoloading via the class_exists() ↵Andrey Andreev1-1/+1
checks ...
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev2-4/+4
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-02-21Manually apply PR #2234Andrey Andreev1-0/+1
2013-02-20Remove CI_DB_pdo_driver::Andrey Andreev1-7/+0
Improving on PR #2265, the property is inherited with the same value and doesn't need to be set.
2013-02-19DB_driver's trans_complete exception fixDionysis Arvanitis1-1/+1
2013-02-19Set transaction enabled flag default to TRUEDionysis Arvanitis1-1/+1