Zend Framework

Informix-querys with Zend_DB_Adapter_Ibm_Pdo fail with SQL-error due to quoted field names.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Not an Issue
  • Affects Version/s: 1.9.6
  • Fix Version/s: 1.10.1
  • Component/s: Zend_Db
  • Labels:
    None

Description

Informix-querys with Zend_DB_Adapter_Ibm_Pdo fail with SQL-error due to standardly quoted field names.
Should be the possibility to set $_autoQuoteIdentifiers = false if Servertyp is IDS (Informix Dynamic Server).

Activity

Hide
Christoph Löffler added a comment -

I am a collegue of Gunnar Fratzke.
We discussed this topic and I think this is not a bug.

The error occured because our Informix installation is kind of special and does not accept quoted field names.

We found as solution to disable autoQuoteIdentifiers in XML Config:

<params>
    <host>hostname</host>
    <!-- ... -->
    <options>
        <autoQuoteIdentifiers>0</autoQuoteIdentifiers>
    </options>
  </params>
Show
Christoph Löffler added a comment - I am a collegue of Gunnar Fratzke. We discussed this topic and I think this is not a bug. The error occured because our Informix installation is kind of special and does not accept quoted field names. We found as solution to disable autoQuoteIdentifiers in XML Config:
<params>
    <host>hostname</host>
    <!-- ... -->
    <options>
        <autoQuoteIdentifiers>0</autoQuoteIdentifiers>
    </options>
  </params>
Hide
Mickael Perraud added a comment -

It's effectively the goal of this option.
Closed as not an issue.

Show
Mickael Perraud added a comment - It's effectively the goal of this option. Closed as not an issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: