|
|
@@ -117,4 +117,17 @@ class Zend_Db_Table_Select_Pdo_PgsqlTest extends Zend_Db_Table_Select_TestCommon
|
|
|
|
|
|
$this->assertEquals(4, count($rowset));
|
|
|
}
|
|
|
-}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This test must be done on string field
|
|
|
+ */
|
|
|
+ protected function _selectColumnWithColonQuotedParameter ()
|
|
|
+ {
|
|
|
+ $product_name = $this->_db->quoteIdentifier('product_name');
|
|
|
+
|
|
|
+ $select = $this->_db->select()
|
|
|
+ ->from('zfproducts')
|
|
|
+ ->where($product_name . ' = ?', "as'as:x");
|
|
|
+ return $select;
|
|
|
+ }
|
|
|
+ }
|