Пример #1
0
 /**
  * Insert page (page_id = 0) to prevent FK constraint violation
  */
 protected function doInsertPage0()
 {
     $this->output("Inserting page 0 if missing ... ");
     $row = array('page_id' => 0, 'page_namespace' => 0, 'page_title' => ' ', 'page_counter' => 0, 'page_is_redirect' => 0, 'page_is_new' => 0, 'page_random' => 0, 'page_touched' => $this->db->timestamp(), 'page_latest' => 0, 'page_len' => 0);
     $this->db->insert('page', $row, 'OracleUpdater:doInserPage0', array('IGNORE'));
     $this->output("ok\n");
 }