_release_lock() 보호된 메소드

Release lock
protected _release_lock ( ) : boolean
리턴 boolean
 protected function _release_lock()
 {
     return parent::_release_lock($session_id);
 }
 /**
  * Release lock
  *
  * Releases a previously acquired lock
  *
  * @return	bool
  */
 protected function _release_lock()
 {
     if (!$this->_lock) {
         return TRUE;
     }
     if ($this->_platform === 'mysql') {
         if ($this->_db->query("SELECT RELEASE_LOCK('" . $this->_lock . "') AS ci_session_lock")->row()->ci_session_lock) {
             $this->_lock = FALSE;
             return TRUE;
         }
         return FALSE;
     } elseif ($this->_platform === 'postgre') {
         if ($this->_db->simple_query('SELECT pg_advisory_unlock(' . $this->_lock . ')')) {
             $this->_lock = FALSE;
             return TRUE;
         }
         return FALSE;
     }
     return parent::_release_lock();
 }