Fixed database query execution

When queries are repeated, a method was supposed to be called in order
to check for prepared queries. This method did not exist. Which did not
help.
This commit is contained in:
Emmanuel BENOîT 2012-02-06 18:25:03 +01:00
parent a1d327d465
commit f1016b039f

View file

@ -130,4 +130,10 @@ final class DBQuery
return $result; return $result;
} }
public function prepared( )
{
return ( $this->statement !== null );
}
} }