public function testStatementExecuteWithParams()
 {
     $products = $this->_db->quoteIdentifier('zfproducts');
     // Make IDENTITY column accept explicit value.
     // This can be done in only one table in a given session.
     sqlsrv_query($this->_db->getConnection(), "SET IDENTITY_INSERT {$products} ON");
     parent::testStatementExecuteWithParams();
     sqlsrv_query($this->_db->getConnection(), "SET IDENTITY_INSERT {$products} OFF");
 }
Exemplo n.º 2
0
 /**
  * @group ZF-7706
  */
 public function testStatementCanReturnDriverStatement()
 {
     $statement = parent::testStatementCanReturnDriverStatement();
     $this->assertType('mysqli_stmt', $statement->getDriverStatement());
 }
Exemplo n.º 3
0
 /**
  * @group ZF-7706
  */
 public function testStatementCanReturnDriverStatement()
 {
     $statement = parent::testStatementCanReturnDriverStatement();
     $this->assertTrue($statement->getDriverStatement() instanceof mysqli_stmt);
 }