Index: trunk/phase3/tests/parser/parserTest.inc |
— | — | @@ -709,8 +709,9 @@ |
710 | 710 | 'archive', 'user_groups', 'page_props', 'category', 'msg_resource', 'msg_resource_links' |
711 | 711 | ); |
712 | 712 | |
713 | | - if ( in_array( $this->db->getType(), array( 'mysql', 'sqlite', 'oracle' ) ) ) |
| 713 | + if ( in_array( $this->db->getType(), array( 'mysql', 'sqlite', 'oracle' ) ) ) { |
714 | 714 | array_push( $tables, 'searchindex' ); |
| 715 | + } |
715 | 716 | |
716 | 717 | // Allow extensions to add to the list of tables to duplicate; |
717 | 718 | // may be necessary if they hook into page save or other code |
— | — | @@ -760,10 +761,8 @@ |
761 | 762 | $this->dbClone->useTemporaryTables( $temporary ); |
762 | 763 | $this->dbClone->cloneTableStructure(); |
763 | 764 | |
764 | | - if ( $dbType == 'oracle' ) |
765 | | - $this->db->query( 'BEGIN FILL_WIKI_INFO; END;' ); |
766 | | - |
767 | 765 | if ( $dbType == 'oracle' ) { |
| 766 | + $this->db->query( 'BEGIN FILL_WIKI_INFO; END;' ); |
768 | 767 | # Insert 0 user to prevent FK violations |
769 | 768 | |
770 | 769 | # Anonymous user |