db_debug) { return $this->db->display_error('db_unsuported_feature'); } return FALSE; } // -------------------------------------------------------------------- /** * Optimize table query * * Is optimization even supported in Interbase/Firebird? * * @param string the table name * @return object */ public function _optimize_table($table) { return FALSE; } // -------------------------------------------------------------------- /** * Repair table query * * Table repairs are not supported in Interbase/Firebird * * @param string the table name * @return object */ public function _repair_table($table) { return FALSE; } // -------------------------------------------------------------------- /** * Interbase/Firebird Export * * @param string $filename * @return mixed */ public function backup($filename) { if ($service = ibase_service_attach($this->db->hostname, $this->db->username, $this->db->password)) { $res = ibase_backup($service, $this->db->database, $filename.'.fbk'); //Close the service connection ibase_service_detach($service); return $res; } else { return FALSE; } } } /* End of file interbase_utility.php */ /* Location: ./system/database/drivers/interbase/interbase_utility.php */