summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo/pdo_driver.php
AgeCommit message (Collapse)AuthorFilesLines
2021-01-16Fix error in pdo/pgsql for php8.0sapics1-0/+8
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
2020-06-24Fix user guide urlsapics1-1/+1
Replace from https://codeigniter.com/user_guide/* to https://codeigniter.com/userguide3/*
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>
2019-09-25Fix indentsapics1-1/+1
2018-12-27Update copyright date to 2019Jim Parry1-2/+2
2018-05-18http:// to https://Mehdi Bounya1-2/+2
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-01-16spelling fixesklemens1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-12-12Fix #4892 - update_batch()Andrey Andreev1-46/+0
Regression caused by 0c23e9122666a30797079bea9415da135d4f7e12 trying to fix #4871 Supersedes #4929
2016-06-22Fix #4674Andrey Andreev1-1/+4
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-10-19Fix #4171 and a number of other transaction bugsAndrey Andreev1-27/+3
2015-02-19Remove 'autoinit' DB settingAndrey Andreev1-4/+0
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-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
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
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-02-25Remove error suppression usage from db_connect()Andrey Andreev1-1/+1
2014-02-25Make db_pconnect an alias for db_connect(TRUE) and reduce code repetitionAndrey Andreev1-12/+0
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-30Some fail-safe pdo_pgsql adjustmentsAndrey Andreev1-2/+1
2013-07-29Fix #2568Andrey Andreev1-2/+2
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-19Set transaction enabled flag default to TRUEDionysis Arvanitis1-1/+1
2013-01-10Unify escape_str() array input and LIKE logicAndrey Andreev1-28/+6
Added protected method _escape_str() to deal with quote escaping.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+1
2012-11-05Fix DB drivers version() implementations that don't execute a queryAndrey Andreev1-0/+4
Fails if called prior to the DB connection initialization.
2012-11-02[ci skip] DocBlocks for DB drivers' driver classesAndrey Andreev1-22/+33
Partially fixes issue #1295.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-24[ci skip] style and phpdoc-related changes (rel #1295)Andrey Andreev1-1/+2
2012-10-12Merge changes from developAndrey Andreev1-4/+0
2012-10-04Fix issue #1789Andrey Andreev1-4/+0
Signed-off-by: Andrey Andreev <narf@bofh.bg>
2012-07-18Merge where() and having() logic - it's structurally identical and only the ↵Andrey Andreev1-1/+1
keyword differs
2012-07-18Remove dependancies on qb_like and remove unneeded parameters from ↵Andrey Andreev1-9/+4
_delete(), _like(), _update(), _update_batch()
2012-07-15Changed double quotes to single quotes to meet style guidelinesAlex Bilbie1-1/+1
2012-07-05Replace localhost with 127.0.0.1 and remove the PDO::ERRMODE_SILENT option - ↵Andrey Andreev1-1/+0
it's the default anyway
2012-07-05Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Andrey Andreev1-3/+14
feature/db_subdrivers
2012-07-05Fix PDO version()Andrey Andreev1-3/+14
2012-07-05Merge upstream branchAndrey Andreev1-6/+0
2012-07-05Add a default _count_string propertyAndrey Andreev1-6/+0
2012-07-02Fix pdo_dblib and pdo_sqlsrv db_connect() and suppress warning messages for ↵Andrey Andreev1-2/+2
subdrivers that don't support certain option attributes
2012-06-25Remove exception thrown for non-existent subdriversAndrey Andreev1-2/+0
2012-06-25Some fixesAndrey Andreev1-1/+1
2012-06-25Optimize PDO escape_str()Andrey Andreev1-1/+1
2012-06-25Add a default _truncate() method to PDOAndrey Andreev1-0/+18
2012-06-25Add pdo_odbc subdriverAndrey Andreev1-84/+25
2012-06-25Add pdo_ibm subdriverAndrey Andreev1-33/+1