summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2021-11-17Merge branch 'php80-patch1' of https://github.com/sapics/CodeIgniter into ↵Phil Sturgeon2-1/+9
ci3-php8
2021-10-04Fixes CREATE TABLE IF NOT EXISTS on pdo_pgsql_forge; checking for dummy data ↵George Petculescu1-0/+7
DB operations result returns
2021-01-16Fix error in pdo/pgsql for php8.0sapics2-1/+9
From PHP8.0, default PDO::ATTR_ERRMODE is changed from PDO::ERRMODE_SILENT to PDO::ERRMODE_EXCEPTION. Reference: https://wiki.php.net/rfc/pdo_default_errmode
2021-01-05[ci skip] Close #5973Andrey Andreev1-1/+1
2020-07-09Merge branch '3.1-stable' into developAndrey Andreev2-16/+7
2020-07-09[ci skip] Correct fix for #5906Andrey Andreev1-1/+1
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev74-74/+74
Fix user guide url
2020-06-24Fix user guide urlsapics70-70/+70
Replace from https://codeigniter.com/user_guide/* to https://codeigniter.com/userguide3/*
2020-03-30[ci skip] Merge pull request #5895 from joshkel/pdo-db-closeAndrey Andreev1-0/+13
Fix database connection leak when closing PDO connection
2020-03-30[ci skip] Merge pull request #5895 from joshkel/pdo-db-closeAndrey Andreev1-0/+13
Fix database connection leak when closing PDO connection
2020-03-30[ci skip] Fix #5906Andrey Andreev1-12/+3
2020-02-11[ci skip] Fix #5901Andrey Andreev2-4/+4
2020-01-28[ci skip] Merge pull request #5890 from jerkob/developAndrey Andreev1-0/+12
Adds a public trans_active function to determine transaction state
2020-01-28[ci skip] Merge pull request #5890 from jerkob/developAndrey Andreev1-0/+12
Adds a public trans_active function to determine transaction state
2020-01-28Fix database connection leak when closing PDO connectionJosh Kelley1-0/+13
We discovered a resource leak (database connection leak) in our application's test suite. We investigated and discovered that, although the test suite was calling `CI_DB_driver::close()` after each test, the `result_id` member variable still maintained an internal reference to the database connection, which kept the connection from being closed. This is using pdo_sqlsrv; I have not tested other PDO drivers. Signed-off-by: Josh Kelley <joshkel@gmail.com>
2020-01-28Small tweak to `trans_active()` descriptionjerkob1-1/+1
2020-01-28Replace `trans_depth()` with `trans_active()`jerkob1-4/+4
Per code review, replace `trans_depth()` function that returns the protected `_trans_depth` property with a `trans_active()` function that returns a boolean indicating whether a transaction is currently active.
2020-01-27[ci skip] Merge pull request #5891 from franciscollanquipichun/developAndrey Andreev14-14/+14
Inserted required attribute `lang` in html tags
2020-01-27[ci skip] Merge pull request #5881 from InSitu-Software/query_builder_full_joinAndrey Andreev1-1/+1
Added FULL OUTER JOIN to QueryBuilder
2020-01-25inserted required attribute in html tagFrancisco Javier Llanquipichun Garcia14-14/+14
Signed-off-by: Francisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com>
2020-01-24Add a trans_depth functionjerkob1-0/+12
Enables retrieval of the current _trans_depth
2020-01-02Added FULL [OUTER] JOIN to CI_DB_query_builderChristian Mohr1-1/+1
2019-11-25[ci skip] Merge pull request #5856 from ↵Andrey Andreev3-4/+50
ytetsuro/fix/oracle12.1-support-auto-increment Enhancement oracle dbforge, auto_increment can be used when using oracle 12.1.
2019-10-28feat: Modified to useable auto increment.ytetsuro1-1/+25
2019-10-28fix: Fixed a bug that could not get the version number when first call.ytetsuro1-2/+2
2019-10-14feat: support auto_increment for orace 12.1ytetsuro1-1/+23
2019-10-08Merge pull request #5842 from sapics/chore/fix-indentAndrey Andreev6-10/+10
Fix indentation / clear whitespace
2019-09-25Fix indentsapics6-10/+10
2019-09-22Merge pull request #5834 from najdanovicivan/qb-count-having-fixAndrey Andreev1-1/+1
Fix count_all_result if QB query contains HAVING clause
2019-09-22Merge pull request #5834 from najdanovicivan/qb-count-having-fixAndrey Andreev1-1/+1
Fix count_all_result if QB query contains HAVING clause
2019-09-19Merge branch '3.1-stable' into developAndrey Andreev6-6/+6
Conflicts resolved: system/core/CodeIgniter.php system/libraries/Cache/drivers/Cache_redis.php system/libraries/Session/drivers/Session_redis_driver.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst
2019-09-13Fix count_all_result if QB query contains HavingNajdanovic Ivan1-1/+1
Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
2019-07-16Fix #5796Andrey Andreev3-3/+3
2019-07-15[ci skip] Fix #5788Andrey Andreev1-1/+1
2019-06-19Fix #5774Andrey Andreev1-1/+1
2019-02-26[ci skip] Fix #5701Andrey Andreev1-1/+1
2019-02-14[ci skip] More on #4186Andrey Andreev1-2/+7
2019-02-14Close #4186, #5631, #5668Andrey Andreev1-15/+10
2019-02-14Merge branch '3.1-stable' into developAndrey Andreev5-8/+15
2019-02-14[ci skip] Polish changes from PR #5692, apply them to pdo/oci and add a ↵Andrey Andreev2-5/+12
changelog entry
2019-02-14[ci skip] Merge pull request #5692 from ytetsuro/patch-2Andrey Andreev1-0/+7
Fixed bug that can not be changed from not null to null in oci.
2019-02-12feat: add _null propertyytetsuro1-0/+7
2019-01-25[ci skip] Fix #5681Andrey Andreev3-3/+3
2019-01-08Merge branch '3.1-stable' into developAndrey Andreev8-48/+40
Conflicts resolved: system/database/drivers/sqlite/sqlite_driver.php system/database/drivers/sqlite/sqlite_forge.php system/database/drivers/sqlite/sqlite_result.php system/database/drivers/sqlite/sqlite_utility.php system/helpers/captcha_helper.php system/helpers/email_helper.php system/helpers/inflector_helper.php system/helpers/smiley_helper.php system/language/english/form_validation_lang.php system/libraries/Cart.php system/libraries/Form_validation.php system/libraries/Javascript.php system/libraries/Javascript/Jquery.php system/libraries/Session/SessionHandlerInterface.php tests/codeigniter/helpers/inflector_helper_test.php user_guide_src/source/helpers/inflector_helper.rst
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT79-233/+233
Update copyright date to 2019
2018-12-27Update copyright date to 2019Jim Parry75-150/+150
2018-11-16[ci skip] Fix #5627Andrey Andreev1-1/+1
2018-11-16[ci skip] Fix #5624Andrey Andreev3-27/+9
2018-09-11[ci skip] Fix #5587Andrey Andreev1-1/+4
2018-08-22[ci skip] Close #5513Andrey Andreev1-0/+5