original_string: private function _registerTag($id, $tag) {
          $res = $this->_query("DELETE FROM TAG WHERE name='$tag' AND id='$id'");
          $res = $this->_query("INSERT INTO tag (name, id) VALUES ('$tag', '$id')");
          if (!$res) {
              $this->_log("Zend_Cache_Backend_Sqlite::_registerTag() : impossible to register tag=$tag on id=$id");
              return false;
          }
          return true;
      }
code: private function _registerTag($id, $tag) {
          $res = $this->_query("DELETE FROM TAG WHERE name='$tag' AND id='$id'");
          $res = $this->_query("INSERT INTO tag (name, id) VALUES ('$tag', '$id')");
          if (!$res) {
              $this->_log("Zend_Cache_Backend_Sqlite::_registerTag() : impossible to register tag=$tag on id=$id");
              return false;
          }
          return true;
      }
code_tokens: private function _registerTag ( $ id , $ tag ) { $ res = $ this -> _query ( "DELETE FROM TAG WHERE name='$tag' AND id='$id'" ) ; $ res = $ this -> _query ( "INSERT INTO tag (name, id) VALUES ('$tag', '$id')" ) ; if ( ! $ res ) { $ this -> _log ( "Zend_Cache_Backend_Sqlite::_registerTag() : impossible to register tag=$tag on id=$id" ) ; return false ; } return true ; }
docstring: Register a cache id with the given tag
  
  @param  string $id  Cache id
  @param  string $tag Tag
  @return boolean True if no problem
docstring_tokens: Register a cache id with the given tag