r12280 - search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index

View: New views
1 Messages — Rating Filter:   Alert me  

r12280 - search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index

by root-97 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Author: murdos
Date: 2009-11-02 23:08:24 +0000 (Mon, 02 Nov 2009)
New Revision: 12280

Modified:
   search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index/AnnotationIndexTest.java
Log:
Missing changes from last commit (factoring of reference data insertion)

Modified: search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index/AnnotationIndexTest.java
===================================================================
--- search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index/AnnotationIndexTest.java 2009-11-02 22:35:11 UTC (rev 12279)
+++ search_server/branches/ngs/index/src/test/java/org/musicbrainz/search/index/AnnotationIndexTest.java 2009-11-02 23:08:24 UTC (rev 12280)
@@ -86,8 +86,6 @@
 
         Statement stmt = conn.createStatement();
 
-        stmt.addBatch("INSERT INTO artist_type(id,name)VALUES (1, 'Person');");
-        stmt.addBatch("INSERT INTO artist_type(id,name)VALUES (2, 'Group');");
         stmt.addBatch("INSERT INTO artist_name(id,name,refcount) values (1,'Farming Incident',1)");
         stmt.addBatch("INSERT INTO artist(id,name, gid, sortname,comment, begindate_year,begindate_month,enddate_year,type,editpending)" +
              " VALUES (521316,1, '4302e264-1cf0-4d1f-aca7-2a6f89e34b36',1,null, 1999,4, null, 2, 0)");
@@ -114,7 +112,6 @@
 
         stmt.addBatch("INSERT INTO label_name (id, name) VALUES (1, '4AD')");
  stmt.addBatch("INSERT INTO label_name (id, name) VALUES (2, '4AD US')");
- stmt.addBatch("INSERT INTO label_type (id, name) VALUES (4, 'Original Production')");
 
         stmt.addBatch("INSERT INTO label(id, gid, name, sortname, type, labelcode, country, comment, " +
  " begindate_year, begindate_month, begindate_day, enddate_year, enddate_month, enddate_day) " +


_______________________________________________
MusicBrainz-commits mailing list
MusicBrainz-commits@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-commits