ZF-9294: Zend_Session_SaveHandler_DbTable does not honor AUTO_QUOTE_IDENTIFIERS
Description
Zend_Session_SaveHandler_DbTable does not update properly on adapters with AUTO_QUOTE_IDENTIFIERS set to false. (This behavior was observed with an Oracle database.)
The root cause is that PRIMARY_TYPE_WHERECLAUSE quotes the identifier itself without regard to AUTO_QUOTE_IDENTIFIERS. The attached patch fixes this issue.
Comments
Posted by Tim Dettrick (tjdett) on 2010-02-28T15:20:27.000+0000
Patch changes $this->getAdapter()->quoteIdentifier($primary) to $this->getAdapter()->quoteIdentifier($primary,true), which results in the AUTO_QUOTE_IDENTIFIERS being honored.
Posted by Ramon Henrique Ornelas (ramon) on 2010-12-17T16:57:49.000+0000
Fixed r23542 in trunk merged to release branch 1.11 r23543 - thanks.