DBAL-297: PDO::PARAM_LOB (value=3) overlaps with PDO::FETCH_NUM (value=3) in OCI8Statement::$fetchModeMap #1478

Closed
doctrinebot opened this Issue Jul 5, 2012 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user char101:

Hi,

In OCI8Statement, using PDO::FETCHNUM does not work because the fetch style mapping is overwritten by PDO::PARAMLOB since the two has the same value (3);

protected static $fetchModeMap = array(
PDO::FETCHBOTH => OCIBOTH,
PDO::FETCHASSOC => OCIASSOC,
PDO::FETCHNUM => OCINUM,
PDO::PARAMLOB => OCI_BBLOB,
PDO::FETCHCOLUMN => OCINUM,
);

so PDO::FETCHNUM is mapped to OCI_BBLOB

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment