summaryrefslogtreecommitdiff
path: root/drivers/adodb-oci8po.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2023-11-04oci8: replace CAT synonym by USER_CATALOGDamien Regad1-1/+5
Update $metaTablesSQL to use standard USER_CATALOG view name instead of CAT synonym, and standardize the query across the whole Oracle drivers family.
2023-11-04oci8: replace usage of deprecated COL viewDamien Regad1-1/+6
Update the $metaColumnsSQL statements in oci8, oci8po, pdo_oci and odbc_oracle drivers to use USER_TAB_COLUMNS instead of COL. Change was not applied to the deprecated oracle driver. Since the contents of the COL.NULLS column (`NULL` / `NOT NULL`) is not the same as the equivalent USER_TAB_COLUMNS.NULLABLE (`Y` / `N`), we can get rid of the CASE statement in $metaColumnsSQL2 and simplify the processing in metaColumns() method, to use a simple string comparison instead of a strncmp() call to populate ADOFieldObject's not_null property. Fixes #1006
2023-04-30Define ADOConnection::_query() methodDamien Regad1-1/+10
- Update child classes to be consistent with this declaration. - Remove unnecessary, non-PHPDoc comments - Consistent parameter names Fixes #966
2022-09-03WhitespaceDamien Regad1-10/+9
2022-09-03oci8po: Replace deprecated functions aliasesDamien Regad1-6/+5
Fixes #862
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad1-19/+24
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad1-1/+1
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad1-24/+19
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-14Standard file header: /driversDamien Regad1-19/+24
2021-03-27PHP 8: final private makes no sense, throwing warningEloy Lafuente (stronk7)1-1/+1
Ref: https://php.watch/versions/8.0/final-private-function#final-private Fixes #711
2021-03-08Bump version to 5.21.1-devDamien Regad1-1/+1
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad1-1/+1
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad1-1/+1
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad1-1/+1
2020-12-19adodb.org is now served over SSLDamien Regad1-1/+1
Change web site references from http://adodb.org to https.
2020-01-24removed PHP4 dependency testsMark Newnham1-5/+0
2019-12-12Curly braces in string offsets is deprecated in 7.4 see #570Mark Newnham1-1/+1
String offsets must now be obtained with square brackets
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad1-2/+2
# Conflicts: # adodb-time.inc.php # docs/changelog.md # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-oci8po.inc.php
2018-08-06Reset version to avoid merge conflictsDamien Regad1-1/+1
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad1-1/+1
2018-08-06Replace adodb.sourceforge.net URLs by adodb.orgDamien Regad1-1/+1
2018-07-08Complex $sql confuses bind marker replacement see #370Mark Newnham1-19/+78
A non-regexp based function has been introduced to replace a regexp based section of code that has been subject to numerous tweaks as more extreme test cases have appeared. This is now done this like this to help maintainability and avoid the need to rely on regexp experienced maintainers.
2018-07-08Complex $sql confuses bind marker replacement see #370Mark Newnham1-19/+1
Complete code update
2018-07-08Complex $sql confuses bind marker replacement see #370Mark Newnham1-0/+78
A non-regexp based function has been introduced to replace a regexp based section of code that has been subject to numerous tweaks as more extreme test cases have appeared. This is now done this like this to help maintainability and avoid the need to rely on regexp experienced maintainers.
2018-03-30Bump version to 5.20.12v5.20.12Damien Regad1-1/+1
2018-03-30Bump version to 5.20.11v5.20.11Damien Regad1-1/+1
2018-03-08Bump version to 5.20.10v5.20.10Damien Regad1-1/+1
2016-12-21Bump version to 5.20.9v5.20.9Damien Regad1-1/+1
2016-12-17Merge branch 'hotfix/5.20.8'Damien Regad1-3/+21
Conflicts: drivers/adodb-mssqlnative.inc.php
2016-12-17Reset version to avoid merge conflictsDamien Regad1-1/+1
2016-12-17Bump version to 5.20.8v5.20.8Damien Regad1-1/+1
2016-12-17oci8po: fix SelectLimit() with prepared statementsDamien Regad1-3/+21
The ADOdb_oci8::SelectLimit() method performs Oracle-specific query optimization, manipulating the SQL to apply hints in a way that is not compatible with the oci8po driver, due to conversion of query parameters ('?' vs oci8 native ':xx'). To avoid the problem, we define the SelectLimit() method directly in ADODB_oci8po, and rely on the slower ADOConnection::SelectLimit() method from the base class. Also, to avoid issues with prepared statements causing PHP to throw a Warning: "oci_execute(): supplied resource is not a valid oci8 statement resource", we retrieve the prepared statement's SQL and pass it on to ADOConnection::SelectLimit(). Fixes #282
2016-10-11Remove references to ADOdb ExtensionDamien Regad1-1/+0
The ADOdb Extension's development stopped at version 5.04. It is no longer maintained or supported, yet the library still contains code referencing it. If those code branches are executed, ADOdb will not perform properly, due to missing constant declarations (among other things). This commit removes all references to the Extension. Fixes #270, #269
2016-09-21Merge branch 'hotfix/5.20.7'Damien Regad1-4/+9
2016-09-21Reset version to avoid merge conflictsDamien Regad1-1/+1
2016-09-20Bump version to 5.20.7v5.20.7Damien Regad1-1/+1
2016-09-20Update changelogDamien Regad1-1/+1
2016-09-14oci8po: prevent segfault on php7Damyon Wiese1-4/+9
The OCIFetchinto function is causing segfaults on php7 - probably because the fields array is not initialised or it is optimised out. This fixes just changes to use the safer function oci_fetch_array instead. Fixes #259 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2016-08-31Bump version to 5.20.6v5.20.6Damien Regad1-1/+1
2016-08-10Bump version to 5.20.5v5.20.5Damien Regad1-1/+1
2016-03-30Bump version to 5.20.4Damien Regad1-1/+1
2016-01-02Update version 5.21.0-dev release year to 2016Damien Regad1-1/+1
2016-01-01Bump version to 5.20.3v5.20.3Damien Regad1-1/+1
2015-12-27Update version to avoid merge conflictsDamien Regad1-1/+1
2015-12-27Bump version to 5.20.2v5.20.2Damien Regad1-1/+1
2015-12-16Remove useless constructorsDamien Regad1-5/+0
Fixes #171
2015-12-06Bump version to 5.20.1v5.20.1Damien Regad1-1/+1
2015-11-28Bump version to 5.21devDamien Regad1-1/+1
2015-11-28Bump version to 5.20.0v5.20.0Damien Regad1-1/+1
2015-11-26Adjust header comment blocksDamien Regad1-1/+3
- running SED script - manual adjustments for files not processed by regex