| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- running SED script
- manual adjustments for files not processed by regex
|
|
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
|
|
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>
|
|
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
|
|
|
|
|
|
|
|
|
|
http://php.net/manual/en/language.basic-syntax.phptags.php
|
|
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.
|
|
- Move all files in adodb5/ to root
- Remove adodb-for-php4/ directory
|