summaryrefslogtreecommitdiff
path: root/ext/pdo_oci/oci_driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Add API to fetch bool value for PDO attribute valuesGeorge Peter Banyard2021-03-171-2/+3
| | | | Closes GH-6766
* Use standard PDO way for fetching integer attribute valuesGeorge Peter Banyard2021-03-171-1/+12
|
* Refactor PDO's last inserted ID handler to use and return zend_stringGeorge Peter Banyard2021-01-191-1/+1
| | | | Closes GH-6617
* Refactor PDO doer handler to use zend_stringGeorge Peter Banyard2021-01-191-2/+2
|
* Fix pdo_oci - declare quotedlen in oci_driver.cShivam Mathur2021-01-091-0/+1
| | | | Closes GH-6590
* Refactor PDO's quoter handler to return a zend_stringGeorge Peter Banyard2021-01-071-15/+15
| | | | Closes GH-6547
* Voidify PDO's fetch_error handlerGeorge Peter Banyard2021-01-061-3/+1
|
* Boolify PDO's preparer handlerGeorge Peter Banyard2021-01-061-4/+4
|
* Voidify PDO's closer handlerGeorge Peter Banyard2021-01-061-3/+1
|
* Boolify PDO's quoter handlerGeorge Peter Banyard2021-01-061-3/+3
|
* Boolify PDO's set_attribute driver functionGeorge Peter Banyard2021-01-061-24/+24
|
* Boolify PDO's transaction handlersGeorge Peter Banyard2021-01-061-10/+10
| | | | This includes begin(), commit(), rollBack(), and inTransaction()
* Formalize pdo_dbh_check_liveness_func() return type to zend_resultGeorge Peter Banyard2021-01-061-1/+1
|
* PDO: Store/pass query_string as zend_stringNikita Popov2020-12-141-9/+7
| | | | | Rather than storing char* + size_t, use a zend_string*. Also avoid various copies of the query string.
* Add GC support for PDO driver dataNikita Popov2020-10-121-3/+4
| | | | | | | | | Add a get_gc method that can be implemented by drivers, which can be used to add additional zvals to the GC buffer. Implement GC support for PDO SQLite callbacks in particular. Closes GH-6262.
* Squash compile warnings the easy wayChristopher Jones2020-09-101-1/+3
|
* Fix #80027 Terrible performance using $query->fetch on queries with many ↵Matteo Beccati2020-08-311-0/+5
| | | | | | | | | | bind parameters Added new flags that allow skipping param_evt(s) that are not used by drivers, in a backwards and forward compatible manner. Updated the pgsql, mysql, sqlite and oci drivers to properly use the new flags. I've left out pdo_dblib, which doesn't have a param_hook, and pdo_firebird, which seems to be using PARAM_EVT_NORMALIZE in a wrong context (param type vs event type).
* Fix [-Wundef] warning in PDO OCI extensionGeorge Peter Banyard2020-05-201-2/+2
|
* pdo_oci: Add support for setting and getting the oracle OCI 18c call timeout ↵Cameron Porter2019-11-011-0/+38
| | | | value.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Fix double free of DSN credentialsNikita Popov2019-09-091-2/+2
|
* PDO: support username & password specified in DSNSjon Hortensius2019-07-021-2/+12
|
* Cheaper checks for exceptions thrown from __toString()Dmitry Stogov2019-06-061-8/+8
|
* Allow exceptions in __toString()Nikita Popov2019-06-051-0/+12
| | | | | | | | | | RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions.
* Merge branch 'PHP-7.3' into PHP-7.4Christopher Jones2019-02-111-13/+90
|\ | | | | | | | | | | | | | | | | * PHP-7.3: Merge PDO_OCI PR PDO_OCI tracing attribute PR merge pdo_oci: Add client identifier and module attrs pdo_oci: Register new attr constants and add tests pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
| * Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2019-02-111-13/+90
| |\ | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: PDO_OCI tracing attribute PR merge pdo_oci: Add client identifier and module attrs pdo_oci: Register new attr constants and add tests pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFO
| | * pdo_oci: Add client identifier and module attrsCameron Porter2019-02-111-34/+79
| | | | | | | | | | | | | | | Add tests for the new attributes, and check the setAttribute return value.
| | * pdo_oci: Add PDO_OCI_ATTR_ACTION and CLIENT_INFOCameron Porter2019-02-111-0/+32
| | | | | | | | | | | | | | | Add the ability to set the action and client info on the database session for PDO OCI using PDO attributes.
| | * year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|/ /
* | Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Move constants into read-only data segmentDmitry Stogov2017-12-141-2/+2
|/
* Merge branch 'PHP-7.1'Christopher Jones2017-03-021-0/+7
|\
| * Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated)Christopher Jones2017-03-021-0/+7
| | | | | | | | This was a modification of an incomplete PR #2276.
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Remove dead code related to error constantsAdam Baratz2017-03-011-6/+0
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|/
* Do not edit the value in place (might be relates to #71261)Xinchen Hui2016-01-041-5/+3
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored)Christopher Jones2015-08-201-8/+15
| |
* | Fix Windows compilation warnings (Senthil)Christopher Jones2015-06-301-7/+7
| |
* | First pass migrating PDO_OCI to PHP 7Christopher Jones2015-05-011-8/+8
| |
* | size_t cleanup for PDOStanislav Malyshev2015-01-261-4/+4
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-12/+12
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-19/+19
| |