summaryrefslogtreecommitdiffstats
path: root/system/database
AgeCommit message (Collapse)AuthorFilesLines
2022-03-03Merge branch '3.1-stable' into developAndrey Andreev75-75/+150
2022-03-02[ci skip] Update copyright noticesAndrey Andreev79-87/+166
2022-02-11Merge branch '3.1-stable' into developAndrey Andreev1-1/+1
2022-02-11[ci skip] Merge pull request #6098 from totoprayogo1916/indent-whitespacesAndrey Andreev1-1/+0
Minor indentation & whitespace corrections
2022-02-11whitespacesToto Prayogo1-1/+0
2022-02-01Typecast to stringJamie Burchell1-5/+1
2022-02-01Fix PHP 8.1 deprecationJamie Burchell1-0/+4
2022-01-08[ci skip] Merge pull request #5729 from emrulmax2/patch-1Andrey Andreev1-0/+1
NOT BETWEEN syntax error DB where() issue solved
2022-01-08[ci skip] Merge pull request #5729 from emrulmax2/patch-1Andrey Andreev1-0/+1
NOT BETWEEN syntax error DB where() issue solved
2022-01-05Drop some previously deprecated functionalityAndrey Andreev1-9/+1
2022-01-05Drop option to disable Query BuilderAndrey Andreev1-38/+10
I don't know if it has ever worked properly, too much things break if you do try to disable it.
2022-01-05[ci skip] An attempt at a better solution for #5896Andrey Andreev2-9/+50
2022-01-05[ci skip] Drop CI_DB_oci8_driver::_bind_params() (no longer used after ↵Andrey Andreev1-29/+0
removing stored_procedure())
2022-01-05[ci skip] Refactor OCI8 driver to use the uniform result_id property instead ↵Andrey Andreev2-38/+24
of its own custom stmt_id
2022-01-05[ci skip] Drop OCI8-specific get_cursor() and stored_procedure() methodsAndrey Andreev2-112/+4
2022-01-05[ci skip] Merge pull request #5896 from ytetsuro/patch-3Andrey Andreev1-0/+10
fix too many connection for oracle
2022-01-05[ci skip] Merge pull request #5896 from ytetsuro/patch-3Andrey Andreev1-0/+10
fix too many connection for oracle
2022-01-05Merge branch '3.1-stable' into developAndrey Andreev3-3/+10
2021-12-20PHP 8.1 update to mysqli database driverAndrey Andreev1-0/+7
2021-12-20PHP 8.1 update to postgre database driverAndrey Andreev2-3/+3
2021-12-20Merge pull request #6074 from philsturgeon/ci3-php8Andrey Andreev3-1/+16
CodeIgniter 3.0 on PHP 8
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
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-05-18style: add empty line.ytetsuro1-0/+2
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-29fix too many connection for oracleytetsuro1-0/+8
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