summaryrefslogtreecommitdiff
path: root/drivers/adodb-oci8po.inc.php
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-01Bump version to 5.20.3v5.20.3Damien Regad1-1/+1
2015-12-27Bump version to 5.20.2v5.20.2Damien Regad1-1/+1
2015-12-06Bump version to 5.20.1v5.20.1Damien 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
2015-08-11Fix#139: Remove PHP 4 ConstructorsValentin Sheyretski1-3/+3
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
2015-06-28oci8po: prevent replacement of '?' within stringsMark Newnham1-0/+11
When processing an SQL statement containing a '?' character within a string, ADOdb wrongly assumed it is for a bind variable. The number of variables then no longer matches the number passed, and crashes the _query() function. We now identify whether a '?' is within a string and don't use it as a bind variable if so. Fixes #132 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2015-06-25oci8: driver honors ADODB_ASSOC_CASE when fetching fieldsDamien Regad1-23/+4
This allows use of lowercase field names when executing queries in ADODB_FETCH_ASSOC fetch mode. The _updatefields() method was moved from oci8po to parent oci8 driver. - code was simplified - logic to determine if the operating in associative mode was moved from the callers to the method itself to reduce code duplication. - use of defined ADODB_ASSOC_CASE_* constants Fixes Github #21
2015-05-04Coding guidelines and whitespaceDamien Regad1-18/+21
2015-05-04Remove unused, useless and commented out codeDamien Regad1-13/+0
2014-04-30Bump version to 5.20devDamien Regad1-1/+1
2014-04-23Bump version to 5.19v5.19Damien Regad1-1/+1
2014-02-24Remove closing php tagDamien Regad1-3/+0
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-01-21Bump version to 5.19devDamien Regad1-1/+1
Bumped 'dev' version allows users who rely on source code downloaded from the git repository rather than an official release tarball to reliably determine that they are running a development version of the library.
2013-08-05Reorg: ADOdb5 (master) branchDamien Regad1-0/+223
- Move all files in adodb5/ to root - Remove adodb-for-php4/ directory