Fixed phantom statement return
This commit is contained in:
parent
a37ecd700e
commit
f69033f67a
|
@ -61,7 +61,7 @@ class PDOSqlsrvCRUDBench extends CRUDBaseBenchmark
|
||||||
{
|
{
|
||||||
PDOSqlsrvUtil::insertWithPrepare( $this->conn, $this->tableName, $this->insertValues );
|
PDOSqlsrvUtil::insertWithPrepare( $this->conn, $this->tableName, $this->insertValues );
|
||||||
PDOSqlsrvUtil::fetchWithPrepare( $this->conn, $this->tableName );
|
PDOSqlsrvUtil::fetchWithPrepare( $this->conn, $this->tableName );
|
||||||
$stmt = PDOSqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
PDOSqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
||||||
PDOSqlsrvUtil::deleteWithPrepare( $this->conn, $this->tableName );
|
PDOSqlsrvUtil::deleteWithPrepare( $this->conn, $this->tableName );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ class PDOUpdateBench extends CRUDBaseBenchmark
|
||||||
{
|
{
|
||||||
for( $i=0; $i<PDOSqlsrvUtil::$loopsPerCRUDIter; $i++ )
|
for( $i=0; $i<PDOSqlsrvUtil::$loopsPerCRUDIter; $i++ )
|
||||||
{
|
{
|
||||||
$stmt = PDOSqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
PDOSqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ class SqlsrvCRUDBench extends CRUDBaseBenchmark
|
||||||
{
|
{
|
||||||
SqlsrvUtil::insertWithPrepare( $this->conn, $this->tableName, $this->insertValues );
|
SqlsrvUtil::insertWithPrepare( $this->conn, $this->tableName, $this->insertValues );
|
||||||
SqlsrvUtil::fetchWithPrepare( $this->conn, $this->tableName );
|
SqlsrvUtil::fetchWithPrepare( $this->conn, $this->tableName );
|
||||||
$stmt = SqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
SqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
||||||
SqlsrvUtil::delete( $this->conn, $this->tableName );
|
SqlsrvUtil::delete( $this->conn, $this->tableName );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ class SqlsrvUpdateBench extends CRUDBaseBenchmark
|
||||||
{
|
{
|
||||||
for( $i=0; $i<SqlsrvUtil::$loopsPerCRUDIter; $i++ )
|
for( $i=0; $i<SqlsrvUtil::$loopsPerCRUDIter; $i++ )
|
||||||
{
|
{
|
||||||
$stmt = SqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
SqlsrvUtil::updateWithPrepare( $this->conn, $this->tableName, $this->updateValues, $this->updateParams );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue