public function dequeueStatement(CNabuDBAbstractStatement $statement)
    {
        if ($statement instanceof CMySQLStatement) {
            $hash = $statement->getHash();
            if ($hash !== null && count($this->statements) > 0 && array_key_exists($hash, $this->statements)) {
                unset($this->statements[$hash]);
            }
        }
    }